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.

Files: 
CommentFileSizeAuthor
#2 rules_features_machine_names.patch692 bytesCyberwolf
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch rules_features_machine_names.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View
#2 entity_features_machine_names.patch1.57 KBCyberwolf
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch entity_features_machine_names.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View

Comments

HnLn’s picture

sub

Cyberwolf’s picture

Status: Active » Needs review
FileSize
1.57 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch entity_features_machine_names.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View
692 bytes
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch rules_features_machine_names.patch. This may be a -p0 (old style) patch, which is no longer supported by the testbots. View

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.