WSOD saving node if "Links" field is enabled on view mode

Created on 21 November 2022, over 1 year ago
Updated 22 February 2024, 4 months ago

Hi, if the selected view mode to use to calculate the read time contains the Drupal "Links" pseudo field, when you save a new node it breaks the site with the following error:

AssertionError: Cannot load the "node" entity with NULL ID. in assert() (line 295 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php) 

A simple workaround is to create a custom view mode without the "Links" field.

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡นItaly FiNeX

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024