- πΊπΈUnited States smustgrave
Possible to get a test case showing the issue please.
The logic intended to prevent recursive rendering prevents all renders of a given node past the second, even if it's not recursive. This prevents use cases such as featuring fields within different view modes on a homepage (for example).
Place 3 separate entity browser blocks that reference the same entity on a page. The 3rd one will not render.
Instead of counting times an entity has been seen, let's check if the combination of entity type, entity id, and view mode has been seen. That way we can have an arbitrary number of instances of the same entity with different view modes, and still prevent loops since the second time an entity is viewed with the same view mode, it will not be rendered.
Review!
N/A
Added a new protected function to check if the entity has been rendered with the view mode.
N/A
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Possible to get a test case showing the issue please.