Closed (duplicate)
Project:
Domain Feeds
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2014 at 18:12 UTC
Updated:
10 Jul 2015 at 18:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ndf commentedThis patch works against the 7.x-1.x branch, not 7.x-1.1.
It checks if the FeedsProcessor in action is the 'FeedsUserProcessor' and if so the target name is changed from 'domain' to 'domain_user'.
When you compare with devel an user and a node you will see these entity-types use a different key for their domain settings.
I choose this method (check for the processor-class) instead of checking if the passed entity is a user, because in the latter case $entity->type is not set. And $entity->uid is not completely safe (for instance profile2 uses this to).
A consequence is that this patch won't work if you use the newer Feeds GenericEntityProcessor.
Comment #2
ndf commentedComment #3
eric_a commentedHere's the same feature, but implemented as a separate target.
Comment #4
jim.m commentedIt is implemented as part of issue #2300331.