Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
taxonomy.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Feb 2010 at 08:58 UTC
Updated:
5 Jan 2011 at 20:21 UTC
Please update the "Converting 6.x modules to 7.x" guide (http://drupal.org/update/modules/6/7) to include the fact that taxonomy synonyms have now been removed from core, in patch submitted by catch in http://drupal.org/node/567572
Thanks
Comments
Comment #1
Island Usurper commentedIt should also be noted that one of the database tables that had its name changed now doesn't exist since taxonomy terms are fields. Instead of changing {vocabulary_node_types} to {taxonomy_vocabulary_node_type}, module developers need to use the Field API to determine which bundles have taxonomy term instances.
Comment #2
jhodgdonThis should be in the core doc queue. Although it's a handbook page, we monitor the upgrade module/theme guides there.
Comment #3
jhodgdonI've added this to the upgrade page. http://drupal.org/update/modules/6/7#no-synonyms-taxonomy
It sure looks half-thought-out to me, though. There's not a clear way to replace the functionality or upgrade to D7, as far as I can tell? Anyway, at least it is in the guide...
Comment #4
tanoshimi commentedThanks for updating. As you say, for getting equivalent functionality in D7, you would have to add a field to the taxonomy terms in a vocabulary, something like this:
That doesn't answer the question of an upgrade path from D6 though - I've got two sites that make fairly extensive use of synonyms, and I'm not sure how I'm going to get them from term_synonym table to field API....
Comment #5
jhodgdonPlease go comment on #567572: Remove taxonomy synonyms since Field API is better and open it back up if you are concerned.
They apparently plan to leave it to a contributed module (!!!!) to do the upgrading, although this was a core feature -- see http://drupal.org/node/567572#comment-2652960 and the comment after that where the issue was marked back to closed.
Comment #7
matslats commentedThere's an error in the above snippet
'object_type' => 'taxonomy_term', // The type of node to bind this field toshould be
'entity_type' => 'taxonomy_term', // The type of node to bind this field toUpgrade is provided by the synonyms module