Config of uninstalled modules gets recorded in config_overlay.deleted

Created on 25 February 2024, 4 months ago
Updated 13 March 2024, 3 months ago

Problem/Motivation

Found over in πŸ› Re-installing after un-installing config_overlay is not possible due to "config_overlay.deleted" being present in active config Fixed .

When another module is uninstalled, it's configuration gets deleted. At this point in time the extension storage still contains the to-be-uninstalled module, so that Config Overlay's config delete subscriber, records the config deletions as though they were config entities being deleted as part of site building.

That should not happen!

Steps to reproduce

Have Config Overlay installed. Uninstall a module that contains shipped configuration. See that the config_overlay.deleted configuration now lists the uninstalled module's configuration names.

Proposed resolution

Update the extension storage in Config Overlay's config subscriber in hook_module_preuninstall()

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany tstoeckler Essen, Germany

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

Comments & Activities

Production build 0.69.0 2024