SDC slots not being validated against json config schema

Created on 4 April 2025, 3 days ago

Problem/Motivation

SDC slots are not being validated against json config schema, because patternProperties has not the right regexp.

When you have a problem and solve it using RegEx, you end up with two problems

Steps to reproduce

Add a SDC component with a slot including spaces and gibberish in the name. It should not be valid. But it works.

Proposed resolution

Fix regexp. Add test.

Remaining tasks

Fix regexp. Add test.

User interface changes

None.

Introduced terminology

None.

API changes

Previous valid SDCs must be invalid now.

Data model changes

None.

Release notes snippet

Does this need any?

🐛 Bug report
Status

Active

Version

11.0 🔥

Component

theme system

Created by

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

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