Prevent uuidKey from being overridden in Configuration entities

Created on 29 October 2015, about 9 years ago
Updated 18 September 2023, over 1 year ago

Problem/Motivation

It is currently possible to override of the uuid key in configuration entities. However this is problematic because the configuration importer needs to detect configuration renames, recreates and deletes using the uuid key and this is hardcoded because the module that supplies the configuration entity type might not yet be installed.

Proposed resolution

Ensure that the uuidKey is uuid.

Remaining tasks

Write patch with tests

User interface changes

None

API changes

Restrict uuidKey to only being uuid.

Data model changes

None

Why is this an rc target?

If a configuration entity used an uuid key other than uuid it would break ConfigImporter.

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Configuration entity 

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

Not all content is available!

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

Production build 0.71.5 2024