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.
Issue fork purge_purger_http-3376490
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
dieterholvoet commentedApparently it's not possible yet to get non-overridden values for config entities, so I fixed the update hook by loading the purger settings config entities through the config factory instead.
Comment #6
dieterholvoet commented