Formatters for empty fields do not render with layout builder enabled

Created on 15 July 2019, almost 5 years ago
Updated 21 June 2024, 7 days 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.

🐛 Bug report
Status

Needs work

Version

10.2

Component
Layout builder 

Last updated about 3 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.69.0 2024