Config deleted during import does not have correct initial values set

Created on 3 December 2023, about 1 year ago
Updated 4 December 2023, about 1 year ago

Problem/Motivation

While working on recipes reverting using a new checkpoint storage that listened to config CRUD events I discovered that when we delete simple configuration with the config importer we don't set the initial values correctly. This is very similar to πŸ› Config saved during import does not have correct initial values set Needs review

Steps to reproduce

Proposed resolution

  • Fix \Drupal\Core\Config\ConfigImporter::importConfig() to call ->initWithData() with the old data in the correct place
  • Add test coverage

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ› Bug report
Status

Fixed

Version

10.1 ✨

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024