- 🇳🇬Nigeria chike Nigeria
I can confirm #8 as I have two views block displays, one block added on the page and the other used for sorting. Patch #5 didn't work while patch #9 worked.
- 🇺🇸United States z3cka
Patch from #9 works like a charm. Thanks for the patch!
- Status changed to RTBC
over 1 year ago 9:28pm 14 March 2023 - Status changed to Needs work
over 1 year ago 11:12pm 16 March 2023 - 🇺🇸United States loze
After further testing, i've realized this is not working correctly.
The route parameters are not passed along and I am getting this error.Symfony\Component\Routing\Exception\MissingMandatoryParametersException: Some mandatory parameters are missing ("node") to generate a URL for route "view.gallery_groups.page_1". in Drupal\Core\Routing\UrlGenerator->doGenerate() (line 181 of ...../core/lib/Drupal/Core/Routing/UrlGenerator.php).
- Status changed to Needs review
over 1 year ago 12:54am 17 March 2023 - 🇺🇸United States loze
I think this got it working.
I added a hook_views_pre_render() implementation where Im adding the params of the current route to the draggableviews contextual link render array.
This allows it to work when your draggableview requires a contextual filter.
- 🇨🇦Canada lily.yan
I can confirm that applying patch https://www.drupal.org/files/issues/2023-03-16/draggableviews-route-erro... → to draggableviews 2.1.2 can fix the issue.
- 🇺🇸United States Adrianm6254
I applied patch #15 and it has cleared up all the RouteNotFoundExceptions I was getting.
- last update
8 months ago 1 pass - last update
8 months ago 1 pass - 🇺🇸United States joshuasosa
Patch #15 works for me. No more errors about this issue in log. Thanks!
- Status changed to RTBC
7 months ago 7:48pm 14 December 2023 - 🇺🇸United States rclemings
Another vote for #15. That makes seven so I'll set it to RTBC.
- 🇺🇸United States loze
While this does work, the "order view" contextual link is always shown regardless of the users permission to access the sort page.
- Status changed to Needs work
5 months ago 9:14pm 21 January 2024 - Status changed to Needs review
5 months ago 6:49am 22 January 2024 - 🇺🇸United States loze
This one checks the route access and unsets the contextual link if false.
- last update
5 months ago 1 pass - last update
5 months ago 1 pass - Merge request !40Issue #3316975 - Contextual Link throws RouteNotFoundException: Route "view.this" does not exist → (Open) created by loze
- 🇺🇸United States loze
#25 was no longer applying with the latest 2.1.x updates. This MR40 is the patch from #25 with the merge errors resolved.