Summary

This bug would throw \Symfony\Component\Routing\Exception\RouteNotFoundException at any page which would touch the problem route registry in menu_tree table.

Easy way to reproduce this issue:

Go to /admin/structure/menu/manage/admin
Add a menu link
You can't visit /admin/structure/menu/manage/admin page again

Progress

CommentFileSizeAuthor
#2 2664564-2.patch3.22 KBkolier

Comments

kolier created an issue. See original summary.

kolier’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new3.22 KB
matio89’s picture

Status: Needs review » Fixed

Hi all,
we corrected the RouteNotFoundException bug.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Status: Closed (fixed) » Needs work

The last submitted patch, 2: 2664564-2.patch, failed testing.

romainj’s picture

Status: Needs work » Fixed

Bug fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

michèle’s picture

Hi. I've had the same problem with the \Symfony\Component\Routing\Exception\RouteNotFoundException error on all backend pages. Interestingly, we had this error suddenly, without updating any module or adjusting any Drupal settings since two weeks!
While searching for a solution, I've found this thread and installed the current dev release of Admin Toolbar, but then I got another error in conjunction with the module "YAML form" (https://www.drupal.org/project/yamlform):

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.yamlform_submission.field_ui_fields" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (Zeile 187 in [...]/core/lib/Drupal/Core/Routing/RouteProvider.php).

I've asked the maintainer of YAML form, if this is a problem of his module. You can read his answer here:
https://www.drupal.org/node/2762959#comment-11383697

I don't know if the DEV release of Admin toolbar is adding this 'field_ui_base_route' to the YamlFormSubmission entity. But as soon as I install the current stable version 8.x-1.15 of Admin Toolbar, the above error disappears (and it's funny, but my backend is back without any errors - can't imagine what's happened, because I have now the same module versions installed as before... - seems to be magic).

michèle’s picture

Status: Closed (fixed) » Active

  • romainj committed 016d171 on 8.x-1.x
    Issue #2664564 by kolier, matio89, romainj and Michèle: auto-detect...
romainj’s picture

I made some changes. @Michèle Could you please test the latest dev version?

romainj’s picture

Status: Active » Closed (fixed)