Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | rules_features_machine_names.patch | 692 bytes | Cyberwolf |
#2 | entity_features_machine_names.patch | 1.57 KB | Cyberwolf |
Comments
Comment #1
HnLn CreditAttribution: HnLn commentedsub
Comment #2
Cyberwolf CreditAttribution: Cyberwolf commentedAt 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().
Comment #3
dixon_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!
Comment #4
klausiOuch, good catch Cyberwolf. Patches look good and work.
Comment #5
fagoThanks, committed to entity api & rules.