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.

Files: 
CommentFileSizeAuthor
#2 gmap-replace_vids_by_machine_names-1899420-2.patch4.09 KBDuaelFr
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch gmap-replace_vids_by_machine_names-1899420-2.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#1 gmap-replace_vids_by_machine_names-1899420-1.patch4.61 KBDuaelFr
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch gmap-replace_vids_by_machine_names-1899420-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new4.61 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch gmap-replace_vids_by_machine_names-1899420-1.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

This 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.

Issue summary:View changes

missing remaining tasks

StatusFileSize
new4.09 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch gmap-replace_vids_by_machine_names-1899420-2.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

I removed the D6 update function in this patch because it was asking to update twice under D7.

Status:Needs review» Fixed

#2 thanks!

commited pushed to 7.x-2.x-dev
and backported to 7.x-1.x-dev

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

Update remaining tasks.