Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | og_vocab_tag_style_generate_new_term_when_not_selected_1835236_1.patch | 1.75 KB | RoySegall |
og_vocab_tag_style_generate_new_term_when_not_selected.patch | 1.75 KB | RoySegall | |
Comments
Comment #1
RoySegall CreditAttribution: RoySegall commentedAdding a fix for a minor typo.
Comment #2
amitaibuCleaned a bit, and committed, thanks.