Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Working with Features allow to export vocabularies for staging and reusability purposes but when deploying on the destination environment we cannot ensure that the vid of the vocabulary will be the same so the settings could be lost.
Proposed resolution
The good practice is to use the machine name instead of vids.
Remaining tasks
Replace vids by machine names.Include an upgrade path.
User interface changes
None.
API changes
Add a helper function to check if a vocabulary is enabled for gmap taxonomy.
Comment | File | Size | Author |
---|---|---|---|
#2 | gmap-replace_vids_by_machine_names-1899420-2.patch | 4.09 KB | DuaelFr |
#1 | gmap-replace_vids_by_machine_names-1899420-1.patch | 4.61 KB | DuaelFr |
Comments
Comment #1
DuaelFrThis patch includes an upgrade path for D6 & D7.
It has been built from GMap 7.x-2.x so if the D6 version do not follow the same code, just remove this part form the install file.
Comment #1.0
DuaelFrmissing remaining tasks
Comment #2
DuaelFrI removed the D6 update function in this patch because it was asking to update twice under D7.
Comment #3
podarok#2 thanks!
commited pushed to 7.x-2.x-dev
and backported to 7.x-1.x-dev
Comment #4.0
(not verified) CreditAttribution: commentedUpdate remaining tasks.