Rendering entity view block on an entity with the same view mode causes recursion infinite loop

Created on 18 April 2018, over 6 years ago
Updated 7 April 2024, 8 months ago

Problem/Motivation

If Entity block (view) is rendered on a entity in the same view mode as the currently viewed entity it will cause an recursion infinite loop.

For example, using Layout Builder:

1. Enable Layout Builder
2. Manage layout on Default view mode
3. Add Entity block and choose 'Default' view mode
4. View the entity, and you'll be stuck in a infinite loop.

Proposed resolution

n/a

Remaining tasks

n/a

User interface changes

n/a

API changes

n/a

Data model changes

n/a

πŸ› Bug report
Status

Needs review

Version

3.0

Component

CTools Blocks

Created by

πŸ‡ΈπŸ‡ͺSweden johnwebdev

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