Drupal 4.7.2

(I'm not sure if this should be reported as a Freetagging or a Taxonomy issue)

I'm using the Parnet - Child Taxonomy feature

Vocab = Locations

Parent Term(s):
- New Jersey
- Wisconin

Children Term(s) =Madison
---------

Parent - Child Taxonomy Relationships

New Jersey
- Madison

Wisconin
- Madison
--------------------

Under the above conditions, Freetagging will find the "last" non-unquie Child name, and will not show the Parent of the Child, while displaying the Child. Nor will it display the other Child (Madison).

Having different Parents, this Child Term is not a duplicate, but can be considered non-unquie term to a certain degree.

Comments

magico’s picture

Version: 4.7.2 » x.y.z
stevenpatz’s picture

Version: x.y.z » 6.x-dev
Status: Active » Postponed (maintainer needs more info)

is this still an issue?

stevenpatz’s picture

is this still an issue?

stevenpatz’s picture

is this still an issue?

mdupont’s picture

Version: 6.x-dev » 8.x-dev
Status: Postponed (maintainer needs more info) » Active

Still valid. To reproduce on a D7 or D8 (HEAD) standard installation:

  • Create a new Article
  • Enter "one, two, three" in the Tags autocomplete field and save the node
  • Go to admin/structure/taxonomy/tags and see that the tags have been created
  • Click on "Add term" and enter "Three". Thus you will have 2 terms with the same name, but not the same ID
  • If you want, you can put one of the duplicated terms in another place of the hierarchy (as a child of the term "two" for instance.
  • Again, create a new Article
  • Begin to type "Three" in the Tags field. Only one result will be shown in the autocomplete suggestions.
  • Save the node, and check the term ID the node was tagged with. It is the highest term ID among the terms with the same name. Lower IDs can't be used to tag a content anymore through the autocomplete field.

Not sure about what we can do about it, but it can lead to some head-scratching among webmasters.

mdupont’s picture

Status: Active » Closed (duplicate)

Patch in preparation at #125231: Enhance autocomplete feature. Marking this issue as a duplicate.