Improve core.extension:profile validation

Created on 19 March 2024, 9 months ago
Updated 20 March 2024, 9 months ago

Problem/Motivation

We can improve the validation of the profile key in core.extension. As per @Wim Leers we could add the following constraints:

      constraints:
        NotBlank: []
        ExtensionName: []
        ExtensionExists: profile

NotBlank: [] because the empty string is never a valid install profile
ExtensionName: [] because that validates the shape of allowed strings
ExtensionExists: profile because that validates that (the already valid shape) indeed exists

I think this should be done in follow up to πŸ› Install profile is disabled for lots of different reasons and core doesn't allow for that Fixed

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
ConfigurationΒ  β†’

Last updated 3 days ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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

Comments & Activities

Production build 0.71.5 2024