Problem/Motivation

If assert.exception is set, the comment form on an entity will throw a fatal because of missing parent entity (because of #lazy_builder through Big Pipe):

AssertionError: Cannot load the "node" entity with NULL ID. in assert()

Steps to reproduce

Add an entity comment field form on a Display entity.

Proposed resolution

Quick workaround is to catch silently the renderinIsolation error.
We still have PHP log for the assertion, so it's partially silent.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

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

mogtofu33 created an issue. See original summary.

  • mogtofu33 committed d41562d6 on 1.0.x
    fix: #3608596 Builder/Preview Island: comment form builder error if...
mogtofu33’s picture

Assigned: mogtofu33 » Unassigned
Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pdureau’s picture