Problem/Motivation
See #2910353: Prevent saving config entities when configuration overrides are applied
Config entities should not be loaded with overrides and then saved again as this may result in writing back things like translation or other overrides into the default version.
Steps to reproduce
Proposed resolution
use loadOverrideFree()
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork block_class-3613577
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
berdirMerge request created.
Comment #4
csakiistvanComment #5
csakiistvan✅ Tested and works — applied MR !86, ran
ddev drush crand re-randrush updatedbon a block carrying asettings.phpoverride: before the fix the raw stored config came back withlabel: 'OVERRIDDEN LABEL', after it the stored label stayedBreadcrumbswhile the invalid dependency was still removed, so the override no longer leaks into the default config.Comment #6
csakiistvan