Memory timeout on "manage display" page for contents with layout builder.

Created on 14 April 2023, over 1 year ago
Updated 9 April 2024, 8 months ago

Problem/Motivation

When browsing to Structure -> Content type -> -> Manage display, an out of memory error occurs.
Even with 1G + memory limit.


docroot/core/modules/layout_builder/src/Plugin/SectionStorage/DefaultsSectionStorage.php:224

Steps to reproduce

I am not sure if this issue can be reproduce only with these steps but here is my config.

Drupal 9.4.7
Modules

  • Layout builder
  • Layout builder restriction (v2.15)
  • Multiple content types

Use layout builder for layout
Restrict layout and block (with block custom)

Proposed resolution

Add a test on the current route to only generate an entity for 'layout_builder.entity' context when the current route is on layout builder one.

Remaining tasks

Confirm the relevance of this fix.

User interface changes

None

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
Layout builderΒ  β†’

Last updated about 13 hours ago

Created by

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

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