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

Created on 21 November 2022, about 2 years ago
Updated 22 February 2024, 10 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.71.5 2024