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 commentedHere's a patch that solves my problem.
Comment #2
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 commentedThe change comes from #1152940: Feeds term import with hierarchy and weight.
Comment #4
twistor commentedShould be fixed in http://drupalcode.org/project/feeds.git/commit/d2d11d2.
Comment #5
stefan.norman commentedThanks twistor, I've tested it at my end and works perfectly in my setup.