Metatags depending on URL cause errors for unsaved entities after updating to Drupal 10.1.4

Created on 1 February 2024, 5 months ago
Updated 27 June 2024, 4 days ago

Creating a new issue clone as the original issue got closed as fixed but there are more people with the same issue still.
πŸ› Metatags depending on URL cause errors for unsaved entities after updating to Drupal 8.8.0 Fixed

Original IS:

Hi,

I recently updated to Drupal Core 8.8.0 and then 8.8.1 and I am now getting the following error on various pages like `/node/add/page`: 1 error has been found: Title

In the Drupal Log report I see:

Location: /node/add/page?_wrapper_format=drupal_ajax&ajax_form=1
Referrer: /node/add/page
Message: Drupal\Core\Entity\EntityMalformedException: The "node" entity cannot have a URI as it does not have an ID in Drupal\Core\Entity\EntityBase->toUrl() (line 192 of /app/web/core/lib/Drupal/Core/Entity/EntityBase.php).
Severity: Error

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium BramDriesen Belgium πŸ‡§πŸ‡ͺ

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

Comments & Activities

Production build 0.69.0 2024