Remove canonical link template in Dashboard entity annotation because it has no canonical route

Created on 13 August 2024, 5 months ago
Updated 28 August 2024, 5 months ago

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
🐛 Bug report
Status

Fixed

Component

Code

Created by

🇩🇪Germany majid.ali

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024