Problem/Motivation

The config entity EntityBrowser has a "canonical" link template declared but it has no canonical route defined. On Drupal 10.2.0 this breaks if you have another module that checks if entities have a canonical link template and tries to generate the canonical URL (based on route).

This will error out with " Route "entity.entity_browser.canonical" does not exist"

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.dashboard_entity.canonical" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (Zeile 208 in /var/www/html/web/core/lib/Drupal/Core/Routing/RouteProvider.php).

Steps to reproduce

  1. Install Drupal 10.2.0
  2. Install module draggable_dashboard 8.x-2.0-alpha5
  3. Create an entity dashboard and try to edit it
Command icon 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

majid.ali created an issue. See original summary.

majid.ali’s picture

Status: Active » Needs review

a.dmitriiev’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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