Hello,
When using the tag style auto complete widget and we enter a term name that already exists in the vocabulary but we didn't select it from the list and wrote it manually exactly the same, the term is being duplicated.
This option is great when we creating a new terms on the fly but has a problem when we inserting the text manually.

The patch handle the problem by checking in the validation function of the widget that the term is exists, if he exists then the term id is added to the term id list.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RoySegall’s picture

Adding a fix for a minor typo.

amitaibu’s picture

Status: Needs review » Fixed

Cleaned a bit, and committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.