Closed (fixed)
Project:
Node read time
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
24 Jan 2023 at 14:07 UTC
Updated:
3 Mar 2023 at 14:28 UTC
Jump to comment: Most recent
The preview causes this error "Cannot load the "paragraph" entity with NULL ID"
When we add a new node, that we add a paragraph, then go to preview mode.
Add a condition if the paragraph is null
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
marc le boulch commentedComment #6
joao.ramos.costa commentedThis is particularly relevant when we try to create for a computed field as in the issue path, happening when, for example, the node create form is validated and a paragraph item is referenced without having been saved.
Comment #8
yivanov commentedThank you for fixing this issue. Merging it into the 8.x-1.x
Comment #9
yivanov commentedComment #12
yivanov commentedYou are right @joao.ramos, better to use empty(). Will fix that, thanks!
Comment #13
yivanov commentedComment #14
joao.ramos.costa commentedThank you !