Schema build fails when requesting from paragraphs edit page

Created on 1 April 2025, 5 days ago

Problem/Motivation

When requesting the schema of a webform from the edit page of a paragraph using the Paragraphs Edit module , the request fails with the following error:

Drupal\Core\Entity\Exception\UndefinedLinkTemplateException: Cannot generate default URL because no link template 'canonical' or 'edit-form' was found for the 'paragraph' entity type in Drupal\Core\Entity\EntityBase->toUrl() (line 211 of /[..]/web/core/lib/Drupal/Core/Entity/EntityBase.php).

Proposed resolution

Catch UndefinedLinkTemplateException for entities without canonical or edit routes.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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