RedirectProcessor crashes for entities with no canonical link template

Created on 17 June 2025, 4 months ago

Problem/Motivation

ResponseText: The website encountered an unexpected error. Try again later.Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: No link template 'canonical' found for the 'file' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 211 of core/lib/Drupal/Core/Entity/EntityBase.php). Drupal\entity_share_client\Plugin\EntityShareClient\Processor\RedirectProcessor->processEntity(Object, Object, Array) (Line: 299)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom joachim

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

Comments & Activities

Production build 0.71.5 2024