Regression in 3.x branch with layout builder

Created on 2 June 2024, 9 months ago
Updated 6 June 2024, 9 months ago

Problem/Motivation

Haven't tracked down the root cause of this yet, but it looks like the changes between 2.x and 3.x have resulted in regression when the module is used with layout builder. What seems to be happening is the uid field just gets rendered as normal, without the submitted template for the submitted formatter kicking in. The 2.x version explicitly sets #theme to submitted.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom catch

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

Comments & Activities

  • Issue created by @catch
  • 🇬🇧United Kingdom adamps

    Thanks for the report. I don't use Layout Builder so I haven't seen this myself.

    The code that sets #theme to submitted is now in manage_display_entity_view_alter. Perhaps Layout builder does something that prevents this function from being called?

Production build 0.71.5 2024