Closed (fixed)
Project:
Relation
Version:
7.x-1.x-dev
Component:
Entity_collector
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 09:38 UTC
Updated:
28 Jan 2013 at 18:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
sebasvdkamp commentedAttached patch simply defines $collect = array(); before the foreach loop.
Comment #2
sebasvdkamp commentedComment #3
sebasvdkamp commentedAnd my bad. I found this in the beta3 version. Reproduced it in the dev and fixed it in the dev. Code between beta3 and the dev is identical for affected parts.
Comment #4
KingSalibah commentedSweet! Patch worked like a charm.
Comment #5
mikran commented#1: Fixed_undefined_variable-1372718.patch queued for re-testing.
Comment #7
joachim commentedHere's a reroll.
This typically occurs if you're looking at a view of a custom entity, whose handlers don't add the entity ID field to the view fields. This can happen if you're using EntityAPI, which defines views data for a custom entity based on the schema table and hence uses generic Views field handler classes.
Comment #8
mikran commentedcommitted
Comment #9
joachim commentedIt occurs to me that it might be worth adding to the docs that views of custom entities won't show in the Collector unless you explicitly add their base field.
Comment #11
ChrisValentine commentedHave applied this patch (manually) which has killed off most of the errors but I am left with:
Comment #12
mikran commentedYour issue sounds a lot like #1634692: entity collector produces 'Warning: array_flip' on views where not all rows produce an entity.
If it isn't that please open a new issue