Exception while getting user orders list

Created on 23 March 2021, over 3 years ago
Updated 15 May 2023, over 1 year ago

Describe your bug or feature request.

Get exception Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("user") to generate a URL for route "view.commerce_user_orders.order_page". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 182 of core/lib/Drupal/Core/Routing/UrlGenerator.php). for /user/1/orders (for example).

Views preset /admin/structure/views/view/commerce_user_orders/edit/order_page with parameters 1 gives right user's order data.

/user/1/orders/29626 gives right order's data.

If a bug, provide steps to reproduce it from a clean install.

Go to the /user/1/orders (for example) and get MissingMandatoryParametersException
Drupal 9.1.5

🐛 Bug report
Status

Closed: cannot reproduce

Version

2.24

Component

Order

Created by

🇺🇦Ukraine goodboy Kharkiv, Ukraine

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024