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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HnLn’s picture

sub

Cyberwolf’s picture

Status: Active » Needs review
FileSize
1.57 KB
692 bytes

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().

dixon_’s picture

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!

klausi’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

Ouch, good catch Cyberwolf. Patches look good and work.

fago’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed to entity api & rules.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.