Ignoring a config key shows as a config diff due to reordering

Created on 7 August 2024, 3 months ago
Updated 11 August 2024, 3 months ago

Problem/Motivation

Ignoring of a specific property of a configuration works just fine.
For example: *:langcode will ignore the langcode property for all configurations. The problem is that the config diff shows reordering of that property and still tries to import the configuration, because Drupal now uses config schema to order keys for maps. ( https://www.drupal.org/node/2852557 )

Check the attached screenshot as an example.

Steps to reproduce

Ignore a specific property of a configuration via Config Ignore and then make a config change - enable/disable random module. Then import configurations again and check the configuration status - the property is not changed, but the diff shows reordering and future config imports will keep trying to fix the order.

Remaining tasks

1. Determine whether this is reproducible by others.
2. Come up with a proper solution.

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Created by

🇧🇬Bulgaria yivanov

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

Comments & Activities

Production build 0.71.5 2024