Update_8002 causes overridden config to be stored in config

Created on 24 July 2023, over 1 year ago
Updated 5 November 2023, 12 months ago

Problem/Motivation

The update hook added in #2892552 loads all purgers including any overridden config and stores them again. When you export config, overridden config is stored.

Our use case is that the host and port of the purger needs to be different locally as opposed to acceptance and production. So we override the config locally by setting the host and port of the purger through a local settings.php. However, after updating the module the overridden config is exported and unexpectedly ends up on acceptance and production where the purger stops functioning.

Steps to reproduce

Install 8.x-1.0, override the config through settings.php, export the configuration, update to 8.x-1.1 and run the update hook. Now export the configuration again and the overridden config is exported.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇱Netherlands Marty2081

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

Comments & Activities

Production build 0.71.5 2024