Posted by stefan.norman on September 14, 2012 at 8:52am
3 followers
| Project: | Feeds |
| Version: | 7.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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]'.
Comments
#1
Here's a patch that solves my problem.
#2
Hrm... 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.
#3
The change comes from #1152940: Feeds term import with hierarchy and weight.
#4
Should be fixed in http://drupalcode.org/project/feeds.git/commit/d2d11d2.
#5
Thanks twistor, I've tested it at my end and works perfectly in my setup.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.