Freetagging - Multiple terms with same name
| Project: | Drupal |
| Version: | 8.x-dev |
| Component: | taxonomy.module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
When freetagging something in a vocabulary with multiple terms that have the same name, the tag will be assigned to the first term with that name.
Clearly, if we have a non-hierarchical vocabulary, multiple terms with the same name shouldn't be allowed (but they are). We allow multiple terms with the same name because it makes sense in some hierarchical vocabularies (does mysql allow binding constraints? I imagine pgsql does).
So a couple of questions: does it make sense to have a freetagging vocabulary where you can assign it a hierarchical structure? All of the tagging going on today doesn't fit into that paradigm, afaik.
If it doesn't make sense, we could restrict the ability of the user to put those two together. If it does make sense, then we should allow the user to change the tags in a more granular fashion (right now, there's no way throught he application interface to change a freetag to another tid).

#1
i do think it makes sense to have structure in a free tagging vocab. an admin could layer on structure after the fact, for example.
#2
I agree - freetagging can benefit from a hierarchy. Your concerns were actually considered when I was working on the freetagging feature, but it was ultimately put on the backburner as a "rare" case. At the time, I had mentioned supporting typed hierarchies (such as "Animal/Cat" or "Animal > Cat"), but how that would actually work with the autocompletion, I've not actually looked.
#3
#4
#5
Moving to Drupal 8.