Formatters for empty fields do not render with layout builder enabled

Created on 15 July 2019, over 5 years ago
Updated 22 August 2024, 3 months ago

Tentatively opening as bug report but might also be a support request to get direction for debugging in Markup module.

Problem/Motivation

A markup field does not show on nodes with layout builder enabled. It does show in the Layout Builder form, but not on the node view. The markup module Maintainer spent quite some time on debugging and couldn't find an error in the module.

Steps to reproduce:

- Install https://www.drupal.org/project/backfill_formatter module
- Create some taxonomies
- Create entity reference field to terms on any content type (i.e., Article)
- Try to add that entity reference field as block with layout builder (i.e., On Article content type's default display mode)
- Add "Backfill terms" as formatter
- Create some articles with similar terms (The motto of backfill formatter is it will automatically select content based on terms tagging, in order they set in the field formatter hence the term backfill)
- Visit the articles you created you won't see that block.

Proposed resolution

Let the field appear on node view.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Layout builder 

Last updated about 12 hours ago

Created by

🇩🇪Germany anruether Bonn

Live updates comments and jobs are added and updated live.
  • Blocks-Layouts

    Blocks and Layouts Initiative. See the #2811175 Add layouts to Drupal issue.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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