Increase module weight during diff detection

Created on 28 March 2024, 9 months ago
Updated 19 August 2024, 4 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.71.5 2024