Single broken component can break XB list of all components

Created on 18 February 2025, about 2 months ago

Steps to reproduce

Related issue is ✨ SDC does not respect JSON Schema validation Active .

  1. Create a component that is using the defaultkey.
    Example:
    name: Layout 3 Column
    status: stable
    group: Layouts
    props:
      type: object
      properties:
        attributes:
          type: Drupal\Core\Template\Attribute
        container_size:
          title: Container size
          type: string
          enum:
            - narrow
            - wide
          default: wide
  2. This component will not work due to ✨ SDC does not respect JSON Schema validation Active . However, it breaks the display of all other components. The editor will see this error:
  3. An invalid component should not break everything. Instead, it should show up as disabled at /admin/structure/component/status

Proposed resolution

User interface changes

πŸ› Bug report
Status

Active

Version

0.0

Component

Page builder

Created by

πŸ‡ΊπŸ‡ΈUnited States mherchel Gainesville, FL, US

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

Comments & Activities

Production build 0.71.5 2024