Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Problem/Motivation
In config_split.schema.schema.yml the config_split.config_split.* uuid property is defined as a string. However, this overrides the config_entity config schema for this property, losing the constraint validation added in #2870878: Add config validation for UUIDs
Proposed resolution
Remove the uuid property from the config_split.config_split config entity schema, so its definition is provided by the config_entity data type. This results in less code for Config Split and improves uuid data support.
Remaining tasks
- Write a patch
- Review
- Commit
User interface changes
None.
API changes
None.
Data model changes
The uuid property of config_split.config_split now has constraints by Drupal core.
Comment | File | Size | Author |
---|---|---|---|
#2 | config_split-uuid_config_schema-3003959-2.patch | 786 bytes | idebr |
| |||
#2 | 3003959-after.png | 39.39 KB | idebr |
#2 | 3003959-before.png | 39.7 KB | idebr |
Comments
Comment #2
idebr CreditAttribution: idebr at iO commentedAttached patch removes the uuid property from the config_split.split config entity schema, so its definition is provided by the config_entity data type. This results in less code for Config Split and improves uuid data support.
Before:
After:
Comment #4
bircherThanks!