- I've successfully exported a taxonomy and this module generates its
structure_sync.data.ymlas conf file -> ok. - Then I've exported above generated conf with
drush cex-> ok - Just for testing purposes, I've changed a term name directly in the conf. So I tried to re-import changes using
drush cim: drupal system correctly recognizes a conf diff, so it imported the new conf without problem -> ok - Cache cleared: the term is NOT changed. -> WHY? After importing the conf with
drush cimI would have expected the term to have changed... - To finally obtain desidered changes, I had to go through this module UI and click on "import (full)" -> term is finally changed.
So the question is: why the final import is not directly triggered with drush cim?
Comments
Comment #2
mxtComment #3
mxtComment #4
mxtComment #5
mxtComment #6
timkruijsen commentedBy design the action to import is always triggered manually. One of the reasons being that as a user you can choose between different modes. If you feel like this should also have an option to automatically perform a structure sync on each config import than I wouldn't necessarily disagree with you, but given the amount of work I would assume this would take (add configuration options to enable/disable this functionality plus an option to set the mode used for that automated action) I don't think I will add this functionality in. If you/someone else would be able to build a patch for it, I'd happily review it and release it though.
Comment #7
willthemoor commentedAgree that it's a reasonable question but, in cased you missed it: You don't need to use the admin UI if you're confident in your config (like you would be with
drush cim). From the project page: