- Issue created by @unstatu
- Merge request !3Issue #3487265: Fatal error when visiting an entity that have the layout... → (Merged) created by unstatu
Automatically closed - issue fixed for 2 weeks with no activity.
The layout_library_st module is causing a critical problem when users visit an entity with a view mode that has a layout defined in the Layout Builder. Specifically, when the Layout Builder configuration is set directly within a view mode, the page fails to render correctly, effectively breaking the page. However, if the Layout Builder configuration is overridden or the layout is selected from the library, the issue does not occur, and the page works as expected.
Set Up Layout Library:
Install and enable the layout_library_st module along with the Layout Builder and any dependencies.
Create an Entity Type:
Create or use an existing entity type (e.g., a content type like “Article”).
Configure a View Mode:
Go to the “Manage Display” settings for your chosen entity type.
Enable and configure a view mode (e.g., “Full Content”) using the Layout Builder.
Save the configuration.
Define a Layout in the View Mode:
Using Layout Builder, set up a layout directly in the “Full Content” view mode (e.g., add sections, blocks, or any layout elements).
Save the layout configuration.
Visit the Entity Page:
Create a new entity (e.g., a new Article) or use an existing one and view it.
Observe that the page fails to render correctly or breaks.
Active
1.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.