Duplicate blocks in Manage display

Created on 6 March 2025, about 2 months ago

Problem/Motivation

After enabling ui_patterns_blocks I get duplicate and wrong entries when I try to selectively enable derived blocks in Manage display of a content type that is layoutbuilder enabled.

For instance I have my own SDC component my_components:audio, in the listing below UI Patterns -> "Allow specific UI Patterns blocks" I get

[] Audio
[] Audio

The markup for the first entry shows a key of:

name="layout_builder_restrictions[allowed_blocks][UI Patterns][available_blocks][ui_patterns_entity:hrw_components:audio]"

The second:

name="layout_builder_restrictions[allowed_blocks][UI Patterns][available_blocks][ui_patterns:hrw_components:audio]"

This could be explained by the two deriver classes. Should these be labelled differently so they can be distinguished?

Which one should be used in which context?

💬 Support request
Status

Active

Version

2.0

Component

UI Patterns Blocks [2.x only]

Created by

miiimooo Europe

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