Problem/Motivation
Routes to add a theme or module where removed in #3417136: Remove adding an extension via a URL. This code is now live with Drupal 11 and causes a whitepage when navigating to the /admin/structure/menu/manage/admin page.
This affects menu items added by the ExtraLinks class:
- update.module_install
- update.theme_install
Steps to reproduce
On a Drupal 11 site, navigate to /admin/structure/menu/manage/admin to receive the error message:
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "update.theme_install" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 208 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Proposed resolution
Remove the now defunct menu items for Drupal 11 sites.
Remaining tasks
Write a patch and review.
Issue fork admin_toolbar-3474908
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
ckaotikComment #5
hswong3i commentedComment #6
hswong3i commentedComment #7
zauravEdit: I had to enable admin_toolbar_extras and admin_toolbar_search to hit the error message. I can confirm the MR solves the issue.
On version 3.x of this module with fresh install of Drupal 11. I cannot reproduce error when going to page/admin/structure/menu/manage/adminComment #10
lfersoy commentedMR100 worked for me also, thanks!
Comment #12
japerryThis removes the item from ALL versions of Drupal, so the current MR won't work... fixing.....
Comment #14
japerryAdded checks to only add to versions of drupal less than 11.