Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When saving a taxonomy_menu entity, we have a Fatal error.
After that, the base path /admin/config/system/taxonomy_menu triggers the same fatal error :
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.taxonomy_menu.edit_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 193 of core/lib/Drupal/Core/Routing/RouteProvider.php).
Comment | File | Size | Author |
---|---|---|---|
#2 | 2567541-fix-route-entity.taxonomy_menu.edit_form-2-8.x.patch | 461 bytes | SylvainM |
Comments
Comment #2
SylvainM CreditAttribution: SylvainM as a volunteer commentedAttached patch fixes the Exception
Comment #4
dstolComment #6
dstolComment #7
fomenkoandrey CreditAttribution: fomenkoandrey commentedinstaled taxonomy_menu-8.x-3.0.zip
When saving a taxonomy_menu entity - fatal error.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.taxonomy_menu.edit_form" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 191 of core/lib/Drupal/Core/Routing/RouteProvider.php).
UPD: repair this bag from patch
Comment #9
blazey CreditAttribution: blazey commentedI get the same error in 8.x-3.0 on clean drupal installation.
Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "entity.taxonomy_menu.edit_form" does not exist."
It happens when I submit a new taxonomy menu with my custom content type and Main menu selected.
Comment #10
blazey CreditAttribution: blazey commentedUpdating status
Comment #11
nerdstein@blazey - by "custom content type" you meant "custom vocabulary"? I'll try testing this right now.
Comment #12
nerdsteinPlease note: I cannot reproduce this error with the current 8.x-3.x branch. Have you updated to the tip of 8.x-3.x? We will push a new release when we fix https://www.drupal.org/node/2577201
The following steps were used on Drupal 8.0.0 with a custom taxonomy vocabulary and the main navigation menu.
1. Create custom taxonomy vocab
2. Create custom taxonomy terms under vocabulary
3. Create the taxonomy menu
4. Edit and save the taxonomy menu
There is no fatal error generated.
Please update with more accurate steps to reproduce if I am missing something.
Comment #13
nerdsteinPlease note - we have a patch prepared for https://www.drupal.org/node/2577201. Once this is reviewed, we will cut a new 8.x-3.x release.
Comment #14
nerdsteinThis has been rolled into 8.x-3.1. Marking issue as resolved