Attempt to create a node url on node creation throws fatal: Drupal\Core\Entity\EntityMalformedException: The "node" entity cannot have a URI as it does not have an ID in Drupal\Core\Entity\EntityBase->toUrl()

Created on 15 February 2024, 4 months ago
Updated 10 April 2024, 3 months ago

To reproduce:

  • After installing and configuring the module
  • Create a new node for the type where the feature is enabled
  • Add input and interact with a button that makes an Ajax call, for example, add new paragraph item, add new Taxonomy term item etc

On the node form you'll see:
"Oops, something went wrong. Check your browser's developer console for more details"

On report log:

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 161 of /public_html/web/core/lib/Drupal/Core/Entity/EntityBase.php).
πŸ› Bug report
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom andreastkdf

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

Comments & Activities

Production build 0.69.0 2024