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.
I have two similar term importers set up. They import to two different vocabularies and both are using GUID as unique identifier.
Problem is that the TermProcessor is not checking the GUID corrctly. The function existingEntityId(FeedsSource $source, FeedsParserResult $result) only checks on feeds_item.entity_type='taxonomy_term'.
It should also check on feeds_item.id='[importer ID]'.
Comment | File | Size | Author |
---|---|---|---|
#1 | Feeds-TermProcessor_existingEntityId_guid_importerid-1784436-1.patch | 676 bytes | stefan.norman |
Comments
Comment #1
stefan.norman CreditAttribution: stefan.norman commentedHere's a patch that solves my problem.
Comment #2
twistor CreditAttribution: twistor commentedHrm... This is odd. The guid is checked correctly in FeedsProcessor, it should not get checked again. I have to do some research to see why this code is here.
Comment #3
twistor CreditAttribution: twistor commentedThe change comes from #1152940: Feeds term import with hierarchy and weight.
Comment #4
twistor CreditAttribution: twistor commentedShould be fixed in http://drupalcode.org/project/feeds.git/commit/d2d11d2.
Comment #5
stefan.norman CreditAttribution: stefan.norman commentedThanks twistor, I've tested it at my end and works perfectly in my setup.