Closed (fixed)
Project:
Feeds
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Nov 2015 at 09:32 UTC
Updated:
8 Dec 2015 at 19:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
pcambraComment #5
pcambraNot sure if $entity is not a real Entity for some cases?
Comment #6
megachrizYes, in D7 entities don't necessary inherit from the class "Entity". All core entity types (like node, user, taxonomy_term and comment) are even generic "stdClass" objects.
Code looks good. I tested the import of a file with a custom entity type that uses the Entity class and with a single bundle and did not notice any errors. Committed #5.