[2.0.0-rc2] Extra slots level in data state

Created on 22 January 2025, 1 day ago

Problem/Motivation

When exporting core.entity_view_display.node.article.default.yml, i get this:

...
third_party_settings:
  layout_builder:
    enabled: true
    allow_custom: false
    sections:
      -
        layout_id: 'ui_patterns:ui_suite_dsfr:alert'
        layout_settings:
          label: ''
          context_mapping:
            entity: layout_builder.entity
          ui_patterns:
            component_id: null
            variant_id:
              source_id: select
              source:
                value: success
            props:
              attributes:
                source_id: attributes
                source:
                  value: ''
              dismissible:
                source_id: select
                source:
                  value: ''
              close_title:
                source_id: textfield
                source:
                  value: 'A traduire'
              title_tag:
                source_id: select
                source:
                  value: ''
            slots:
              slots: {  }

Is it normal to have:

            slots:
              slots: {  }

Proposed resolution

Let's check if we are saving the data state the right way.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024