Module settings ignored when importing config with "drush cim --partial"

Created on 24 January 2022, over 2 years ago
Updated 21 October 2023, 8 months ago

Problem

As the issue title says, when I try to use the --partial flag during an import, module settings are ignored and config entities that are in the ignore list are overwritten.

Steps to reproduce

- Add a config entity on module settings form
- Export config
- Import exported config in another environment
- Change a setting in the config entity
- Try to import config with "drush cim --partial" flag
- See changed setting get overwritten
- Try to import config without the "--partial" flag and see the changed setting being ignored

πŸ› Bug report
Status

Closed: works as designed

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary dr. gubΓ³

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡­Switzerland bircher πŸ‡¨πŸ‡Ώ

    This is an issue with how drush handles import transformations when the partial flag is set.
    There is an argument that can be made to say that it is correct, though unfortunate for users of config ignore.
    But there is nothing config ignore can do in this instance. I would suggest not using the partial flag while using config ignore.

Production build 0.69.0 2024