VarnishPurgerFormBase should load config without overrides

Created on 1 March 2024, 9 months ago

Problem/Motivation

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.

Steps to reproduce

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.

Proposed resolution

VarnishPurgerFormBase should use ConfigEntityStorageInterface::loadOverrideFree() to load the config.

🐛 Bug report
Status

Needs review

Version

2.2

Component

Code

Created by

🇫🇷France prudloff Lille

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