This module breaks Taxonomy Module

irakli - January 2, 2009 - 10:23
Project:Yahoo Terms
Version:6.x-6.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

It breaks Taxonomy module when Yahoo Terms vocabulary is a free-tagging vocabulary. Namely: none of the taxonomy values are set on the node edit form, anymore (they are assigned to node, but selection is lost on the node edit form). It may also be removing terms from other taxonomies, not sure about that.

Anyway, I think it's due to the fact that free-tagging terms in the node object are not attached as an array of tids, but rather a comma-separated string in the 'tags' array.

You can see yourself easily, if you test on a free-tagging mode.

cheers

#1

christopher_skauss - January 18, 2009 - 10:04

confirmed, exact same thing happens to me too.

#2

christopher_skauss - January 18, 2009 - 10:18

it happens even if the yahoo terms vocab is not free-tagging

#3

stopbox - March 30, 2009 - 00:54

subscribe

#4

DamienMcKenna - July 14, 2009 - 23:30

Seems like a pretty major bug and basically renders the module useless. Will look into it tonight and see if I can put together a patch.

#5

EvanDonovan - August 21, 2009 - 20:24

Any progress on this? It still seems to be happening when I set the vocabulary to be free-tagging (which is the most logical type of vocabulary for a module like this). Is the module using taxonomy_node_save (http://api.drupal.org/api/function/taxonomy_node_save) - I think that works with both regular & free-tagging terms.

#6

DamienMcKenna - August 21, 2009 - 20:26

To be honest, I changed to using the autotagging module.

#7

EvanDonovan - August 21, 2009 - 20:30

For anyone else looking, that module is at http://drupal.org/project/autotagging (unless we're talking about different ones). Sounds good. I'll check that out.

#8

EvanDonovan - August 21, 2009 - 21:04

Could this issue be related at all to #170139: Yahoo Terms clears contents of $node->taxonomy when yahoo_terms_enable_runtime is YAHOO_TERMS_ON_NODE_CREATION_AND_UPDATE? If so, at least that one has a suggested fix (though it's not in patch form). Seems like the maintainer hasn't been too active on this, however (38 weeks since last commit.) I don't think I'll work any more on this; I'll just use Autotagging.

 
 

Drupal is a registered trademark of Dries Buytaert.