Fixes #428 Config Distro Import Ignore Bug #653
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR attempts to provide a workaround for a current bug in the
config_sync
/config_distro
ecosystem. The symptom of this problem is that when distribution updates are imported, any modules that are deselected (eg. you choose not to import their updates) still import anyway.Description
This PR provides a patch that hooks the storage comparer used in the Config Import process up between the site's sync storage and active storage.
Normally
config_distro
's import form integrates with the sync storage indirectly, through the new transformation API. Theconfig_sync
/config_distro
ecosystem has been trying to move towards using the transformation API but it appears that perhaps something in theconfig_filter
layer is being cached or not regenerated during a plugin derivation process.This needs a little more investigation for a real fix as this is a bandaid fix for something that seems going amiss with
config_filter
using the transformation API.Related Issue
#428
How Has This Been Tested?
/admin/config/development/distro
Types of changes
Checklist: