- Issue created by @tstoeckler
If Config Split is installed, Config Overlay's ConfigTransformLateSubscriber
runs with priority -100. If Config Ignore is also installed, ConfigIgnoreEventSubscriber
runs before* that, so there can be the situation where Config Ignore removes configuration to be imported as it is in the ignore list and then Config Overlay overlays said configuration, because it is shipped resulting in the configuration not being ignored in the end.
* The priority of the Config Ignore subscriber was recently (at the time of writing) changed to -100 in 🐛 Splits: Ensure config_ignore works for everyone - set default to functional value Needs review , but (presumably due to naming) the subscriber is still run before the Config Overlay one.
node.type.*
to the ignore listExpected result: The node type is not recreated
Actual result: The node type is recreated. Note that config_overlay.deleted
does correctly record the deletion, so if you were to export the configuration prior to the import, the node type would not be re-created, but this circumvents the whole point of Config Ignore.
Make sure that the Config Overlay's late subscriber runs before Config Ignore. Due to 🐛 Splits: Ensure config_ignore works for everyone - set default to functional value Needs review this is now easier to achieve. Consider if we also want to make the priorities configurable via settings (just like Config Split and Config Ignore) or not.
Active
2.0
Code