- Issue created by @prudloff
- Merge request !14Issue #3424969: VarnishPurgerFormBase should load config without overrides → (Open) created by prudloff
- Status changed to Needs review
9 months ago 2:43pm 1 March 2024
See 🐛 Prevent saving config entities when configuration overrides are applied Needs work , the config form should load the config without any override, to avoid saving overridden config to the database.
If you have something like this in your settings:
$config['varnish_purger.settings.8f9418a21b']['hostname'] = 'localhost';
You don't want this overridden value to be saved to the database when submitting the form.
VarnishPurgerFormBase
should use ConfigEntityStorageInterface::loadOverrideFree()
to load the config.
Needs review
2.2
Code