SDC prop validation error on alert

Created on 27 July 2025, 7 days ago

Problem/Motivation

templates/misc/status-messages.html.twig:

{{ include('bootstrap_barrio:alert',
  { message_list: message_list,
    status_headings: status_headings,
    attributes: attributes
  })
}}

is triggering a fatal SDC validation error because message_list variable in the template can be NULL while in the component it can't.

Proposed resolution

Add default.

🐛 Bug report
Status

Active

Version

5.5

Component

Code

Created by

🇫🇷France Grimreaper France 🇫🇷

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