Using VID makes exporting the configuration difficult, and now that we have machine names for vocabularies in D7 unnecessary.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | machine_name-2055001-4.patch | 9.94 KB | jastraat |
| #3 | machine_name-2055001-3.patch | 9.94 KB | jastraat |
| #1 | 2055001-use_machine_names.patch | 3.9 KB | kholloway |
Comments
Comment #1
kholloway commentedThe following patch we have used to make this change. I will say that we have made two rounds of updates that are captured in this patch to catch all the places that once used the VID instead of the taxonomy machine name. If anyone catches anything in addition feel free to let me know so we can update the patch or submit an updated patch. To our knowledge this patch works pretty well and updates fields as it should (field syncing).
For technical background this patch essentially changes the export array to use Taxonomy machine names as the export array keys instead of the vocabulary ID. It also adjusts the code in various places to account for this change.
Comment #2
jastraat commentedWe're using the patch in #1 successfully.
Comment #3
jastraat commentedWhile in general the patch above worked, we had a few trailing error messages, so here's an adjusted patch.
Comment #4
jastraat commentedAnd without white spaces -
Comment #5
wwhurley commentedThis is working for me on a number of sites.
Comment #9
brooke_heaton commentedThis is working for me. Update hook needed to convert old configuration settings to new machine_name. Will add.
Comment #10
brooke_heaton commented