Settings form should not use overridden config

Created on 18 January 2023, almost 2 years ago
Updated 12 April 2023, over 1 year ago

Problem/Motivation

When overriding the config, the settings form displays the overridden config.
This means that when submitting the form, the overridden config is saved to the database.

Steps to reproduce

Add something like this to settings.php:

$config['minifyhtml.config']['strip_comments'] = FALSE;
$config['minifyhtml.config']['minify'] = FALSE;

Then browse to /admin/config/development/performance.

Proposed resolution

The config should be loaded with getEditable().

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024