Increase module weight during diff detection

Created on 28 March 2024, 3 months ago

Problem/Motivation

There is a problem when I want to update config entities from a module that overrides the config item from another module.

In that scenario, the method $this->configUpdate->getFromExtension() only provides the correct value from the extension, if it appears later in the module list in Drupal config storage. That's the case, if all modules have the same weight (default: 0) and the one that wants to update config comes later in the alphabetic order.

Proposed resolution

Since that can't be assumed, this process should increase the weight of the extension that wants to update config while the differences in config are about to be determined.

πŸ› Bug report
Status

Needs review

Version

2.0

Component

Drush commands

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024