Splits: Ensure config_ignore import works for everyone - set default to functional value

Created on 14 February 2024, 8 months ago
Updated 29 April 2024, 5 months ago

Problem/Motivation

Provide a working scenario out of the box for everyone that uses config_ignore and config_split to prevent ignored configurations from importing.
Set the default import priority to -1. This is the functional value that works correctly as expected.

Steps to reproduce

Install config_split 2.0.0
install config_ignore 3x
configure a split
split a config, say password_policy.
add a config ignore to password_policy

Do not learn about priority setting, just patch with the mr patch
Do not set any priority settings for config_ignore in your settings.php

Password policy is not ignored correctly unless patched with the mentioned patch , even after multiple cache rebuilds and config imports / re-submit forms of password_policy defaults and retries.

Solution:

Instead, use this patch that sets the default value to a functional value.

See patch which does the job.

Proposed resolution

See patch or the merge request it'self, change the default import event subscriber priority to -1, this is the functional value.

Remaining tasks

Review/commit patch/merge request, tag and release new version of config_ignore.

User interface changes

Module will now behave as expected without having to set a configuration value.

API changes

Set import priority to a functional value.

Data model changes

Config ignores for config import on split configs work as expected.

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada joseph.olstad

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