WSOD on edit custom font

Created on 12 March 2024, 9 months ago

Problem/Motivation

When used with other contrib modules like responsive_preview β†’ , clicking Edit or Delete on a local font triggers WSOD.

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.local_font_config_entity.canonical" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of core/lib/Drupal/Core/Routing/RouteProvider.php).

The local_font entity canonical link is defined but not a corresponding route. When another module calls something like $entity->toUrl() it fails.

Steps to reproduce

Use Drupal 10.2.4 & fontyourface 4.0.0
Enable local_fonts module
Create and upload a local font
Click Edit or Delete

Proposed resolution

Remove the canonical entity link.

πŸ› Bug report
Status

Active

Version

4.0

Component

Local Fonts (provider)

Created by

πŸ‡¨πŸ‡¦Canada bwaindwain

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