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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DuaelFr’s picture

Status: Active » Needs review
FileSize
4.61 KB

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.

DuaelFr’s picture

Issue summary: View changes

missing remaining tasks

DuaelFr’s picture

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

podarok’s picture

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.

Anonymous’s picture

Issue summary: View changes

Update remaining tasks.