Hi,

I have exactly the same as stated here: https://drupal.org/node/1039134#comment-7346894 and create this new issue for that.
When I reuse a termfield iin another content type then the import creates new tags/terms with the same name again and again...
i think also it fails in feeds/mappers/taxonomy.inc line #141:

case FEEDS_TAXONOMY_SEARCH_TERM_NAME: ......

It just can't find that a term/tag with this name already exists...

How can I get only one term per term-name created within the vocabulary. I am already a whole day bussy altering the vocabulary through term-merge now because of so many duplicate terms.
Thanks a lot in advance for your reply!

Greetings, Martijn

Comments

vegansupreme’s picture

I have the same problem.
As a fix, using the 7.x-1.x-dev version of Term Merge Works the best because it auto detects duplicates. There's still a lot of clicking if you have a lot of terms though.

summit’s picture

Hi,
@vegansupreme I have exactly the same strategy as you but off course this is not a fix, but a labor intensive work around. The good part that the module builder of term merge has build in some great stuff from my needs, but still it is a work around and not a real fix..
Does anyone experience the same problem and have a real fix?
Greetings, Martijn

Greetings and thanks in advance for your reply!

vegansupreme’s picture

Summit, you're absolutely right, it's not a fix. I meant to edit my post but figured it was too late. I just wanted to recommend the 1.x-dev branch of term merge. Last I checked, the 2.x branch wasn't working for me, at least the duplicate merge feature wasn't working correctly.

Back to finding a real fix: I've been using Feeds off and on for quite a while, and I'm sure this problem wasn't happening a few months ago. Maybe try Alpha6 or 7.

vegansupreme’s picture

I think I've found a much better work around! VBO has a similar (identical?) issue:
#1507216: Adding new terms to nodes using autocomplete widget creates duplicate entries in vocabulary
I used the code in #7 to make a custom module, and poof! Feeds no longer creates duplicate terms! See also
#1812794: Prevent storing duplicat references
In this issue, there's a patch for VBO that may or may not work for feeds. I've not tried it on feeds. The custom module work around worked for me.

--EDIT: This might not actually be working! Will update again soon, when I confirm.
--EDIT: It DOES seem to be working. I may have just used incorrect import/tamper settings.

shaneonabike’s picture

Issue summary: View changes

What exactly do you mean you put that into a custom module? Is it that you wrote code that you forced tamper to use? If so what exactly did you do...

bluegeek9’s picture

Status: Active » Closed (outdated)

Drupal 7 reached end of life and the D7 version of Feeds is no longer being developed. To keep the issue queue focused on supported versions, we’re closing older D7 issues.

If you still have questions about using Feeds on Drupal 7, feel free to ask. While we won’t fix D7 bugs anymore, we’re happy to offer guidance to help you move forward. You can do so by opening (or reopening) a D7 issue, or by reaching out in the #feeds channel on Drupal Slack.

If this issue is still relevant for Drupal 10+, please open a follow-up issue or merge request with proposed changes. Contributions are always welcome!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.