Closed (works as designed)
Project:
Rules
Version:
7.x-2.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2011 at 06:05 UTC
Updated:
29 Sep 2011 at 06:37 UTC
I'm building a rules action for loading entities that have been related to a source entity with the relation module.
The rules action takes two arguments, one entity, and a relation bundle.
My problem turns up when the callback is passed the raw entity object, instead of an entity wrapper.
Information about the entity type is now lost, and I can not query for related entities, as I can't uniqely identify the source entity.
This could absolutely be something I've missed, but it looks like an oversight in the rules or entity module?
Comments
Comment #1
Letharion commentedMy bad, I missed that there was a 'wrapped' setting for actions.