Config export does not use the same config ignore rules

Created on 26 August 2024, 3 months ago
Updated 9 September 2024, 2 months ago

Problem/Motivation

The project pages states:

Config Ignore 2.x only ignored config on import (unless patched) whereas Config Ignore 3. ignores on import and on export in the simple mode. You can configure different configuration to ignore on import and export with the intermediate mode.

I have the simple mode on and this in my ignored_config_entities:
- 'asset_injector.*'

Yet if I sync a database from my production server that contains asset injector items to my local and run a config export, this file shows up in my default config directory:
asset_injector.css.fix.yml

By the statement from the project page, this file should not be created on config export.

Full settings without wild cards seem to work as expected where it doesn't export:
- upgrade_status.settings

Steps to reproduce

Use a module that creates individual config files like webform or asset_injector.
Add a wildcard item to config ignore like:
webform.webform.*

Create a webform.

Run config export.

Check config directory and find a file such as webform.webform.research_slam.yml

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Postponed: needs info

Version

3.3

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States shelane

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

Comments & Activities

  • Issue created by @shelane
  • Status changed to Postponed: needs info 2 months ago
  • πŸ‡¨πŸ‡­Switzerland bircher πŸ‡¨πŸ‡Ώ

    I can not reproduce this issue.
    I tried with block.* and it works as expected.

Production build 0.71.5 2024