Enable the redirect module then delete a font display. It generates this error:
The website encountered an unexpected error. Please try again later.
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.font_display.canonical" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 190 of core/lib/Drupal/Core/Routing/RouteProvider.php).
The underlying cause is a bug in FontDisplay.php @ConfigEntityType
* links = {
* "canonical" = "/admin/appearance/font/font_display/{font_display}",
However that route does not exist because there is no setting for handlers["form"]["default"]. Delete the line for canonical and it works.
Comments
Comment #2
adamps commentedComment #3
neslee canil pintoComment #4
adamps commentedGreat thanks