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).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SylvainM created an issue. See original summary.

SylvainM’s picture

Status: Active » Needs review
FileSize
461 bytes

Attached patch fixes the Exception

  • dstol committed f979b22 on 8.x-3.x authored by SylvainM
    Issue #2567541 by SylvainM: Fix Symfony\Component\Routing\Exception\...
dstol’s picture

Status: Needs review » Fixed

Status: Fixed » Needs work

The last submitted patch, 2: 2567541-fix-route-entity.taxonomy_menu.edit_form-2-8.x.patch, failed testing.

dstol’s picture

Status: Needs work » Fixed
fomenkoandrey’s picture

instaled 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

Status: Fixed » Closed (fixed)

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

blazey’s picture

I 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.

blazey’s picture

Status: Closed (fixed) » Needs work

Updating status

nerdstein’s picture

@blazey - by "custom content type" you meant "custom vocabulary"? I'll try testing this right now.

nerdstein’s picture

Please 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.

nerdstein’s picture

Please 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.

nerdstein’s picture

Assigned: Unassigned » nerdstein
Status: Needs work » Fixed

This has been rolled into 8.x-3.1. Marking issue as resolved

Status: Fixed » Closed (fixed)

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