Validate Component config entity props' `required` value matches the actual source for the `active` version

Created on 5 January 2026, 7 days ago

Overview

In 🐛 Deleting or renaming SDC prop will break xb pages using old version of the component Active we added the `required` flag to the prop field definitions stored in a Component config entity version.
In 📌 Support adding a new required prop with an example to an in-use code component Active (https://git.drupalcode.org/project/canvas/-/merge_requests/398#note_646532) we discovered that some test config had the wrong value.

Proposed resolution

Add a constraint that verifies that for the canvas.generated_field_explicit_input_ux type, the active version required value for each prop matches the reality of its source.

User interface changes

None.

📌 Task
Status

Active

Version

1.0

Component

Config management

Created by

🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024