Closed (duplicate)
Project:
Drupal core
Version:
7.12
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2012 at 20:29 UTC
Updated:
3 Jan 2015 at 15:42 UTC
Jump to comment: Most recent
Comments
Comment #1
vineet.osscube commentedYes it is confusing, Why duplicate term name is allowed in same vocabulary even at same level. Best solution only be to restrict about unique term name at same level (under same parent and same vocabulary).
For other solution, There can be the id based auto complete functionality, So some kind of javascript be included for managing on change event of auto complete and update term ids in hidden element (which must be the actual submitted element). Now we could have some config (term id or term name ) chose at manage field for auto complete field configuration. Yes that need to be alter some core as well as solution already built for used term name need to be changed.
but the exact problem is that when we select any value bring by the auto complete list it stores the key in the text filed and for that the array constructed at backend is combination of name in key and name in value i.e
$key[name] = $value[name] so the array with same name stores only last value.
Comment #2
joachim commentedClosing as a duplicate of #2400383: Multiple taxonomy terms with the same name do not show in the autocomplete widget.