Posted by Cyberwolf on June 20, 2011 at 10:03am
6 followers
| Project: | Entity API |
| Version: | 7.x-1.x-dev |
| Component: | Code - misc |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Since the updates to the Entity and Rules modules related to #1027908: entity_load() should return entities keyed by ID, not name, Rules are exported by Features with their numeric IDs instead of their machine names.
Comments
#1
sub
#2
At first sight attached patches (one for Entity, one for Rules) seem to fix the problem. The calls to entity_load() have been replaced with entity_load_multiple_by_name().
#3
I'm also experiencing the same problem, but for Search API exports (which uses the same export feature from Entity API).
The patch in #2 solves the problem. Thanks, Cyberwolf!
#4
Ouch, good catch Cyberwolf. Patches look good and work.
#5
Thanks, committed to entity api & rules.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.