[meta] Improve support for entity types without a canonical link

Created on 18 June 2023, almost 2 years ago
Updated 1 July 2023, almost 2 years ago

Problem/Motivation

In order to gain access to various features, various core entity types declare a canonical link even though they do not actually provide a route with their canonical representation (i.e. their rendered output).

The entity types are:

  • Content blocks
  • Custom menu links
  • Media (unless the Standalone media URL option is enabled)
  • Shortcut

The features that are broken if a canonical link is not declared are:

  • Comments: The comment form hardcodes a redirect to the commented entity's canonical route upon submission
  • Content Translation: The translation path is derived from the canonical path, so there will be no translation UI without the canonical path
  • Others?

Proposed resolution

Reduce any downsides of not declaring a canonical route as much as possible. Any specific fixes should probably be split into dedicated issues.

Remaining tasks

-

User interface changes

-

API changes

-

Data model changes

-

Release notes snippet

-

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Entity 

Last updated 1 day ago

Created by

🇩🇪Germany tstoeckler Essen, Germany

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

Comments & Activities

Production build 0.71.5 2024