"entity.block_group_content.canonical" does not exist.

Created on 16 April 2018, over 6 years ago
Updated 28 June 2024, 6 months ago

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.block_group_content.canonical" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 190 of /app/public/core/lib/Drupal/Core/Routing/RouteProvider.php). Appears when editing a blockgroup e.g admin/structure/block_group_content/{name}

It seems blockgroup claims to have a link template, but actually, it doesn't exists. Patch attached that should fix this

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom big_man

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India er.garg.karan Chandigarh

    I tried deleting a block group manually. It worked like a charm.

    But when I exported my configurations and imported them using drush config:import, I got the same error repeatedly until I applied the patch provided in #2.

    I am using block group 2.0.0 and Drupal 10.2.

Production build 0.71.5 2024