taxonomy.module - duplicate terms allowed in same vocabulary

macgirvin - December 13, 2005 - 18:19
Project:Aggregator2
Version:4.6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

This issue arose when using the autotaxonomy feature of aggregator2 and I have filed appropriately there. When a new term is created, there is no checking that the term doesn't already exist in the same vocabulary. It can be observed without aggregator2. Create a new term. Create another with the same term name. It is created without complaint. This can cause a great deal of confusion and headaches when importing terms from other sources.

I don't believe that the module should complain about the duplicate term. It should simply ignore the creation of a new term node and return the term that is already there (so it doesn't break things like aggregator2 - which populates its data with the returned term id).

#1

alexmc - February 21, 2006 - 18:28

I have a different approach. I would suggest that we have a means of merging those duplicate taxonomy terms. I dont think that one can prevent the "duplicate" terms from being created in all circumstances.

#2

alexmc - February 23, 2006 - 10:00

In case it is of help to you I am about to create a perl script which merges duplicate taxonomy terms.

#3

magico - August 21, 2006 - 14:48
Version:4.6.5» x.y.z
Category:bug report» feature request

I don't think this is a bug but a feature.
What identifies the uniqueness of a term is it ID and not it's name.

#4

lilou - August 13, 2008 - 19:24
Project:Drupal» Aggregator2
Version:x.y.z» 4.6.x-1.x-dev
Component:taxonomy.module» Code
 
 

Drupal is a registered trademark of Dries Buytaert.