Similar problem as #2117453: uuid_node doesn't use entity_uuid_load/save to load/save node, ad hoc fix:

@@ -158,9 +158,7 @@
           // Create a new bean.
           $bean = entity_create('bean', $data);
         }
-        if (!$bean->save()) {
-          drupal_set_message('Failed to create ' . $data['type'] . ' bean ' . $data['label'], 'error');
-        }
+        entity_uuid_save('bean', $bean);
       }
     }
   }
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

geek-merlin’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
1.16 KB

Right. Patch flying in that fixes this.

  • das-peter committed d18c63b on 7.x-1.x authored by axel.rutz
    Issue #2117455 by axel.rutz: uuid_bean doesn't use entity_uuid_save when...
das-peter’s picture

Status: Needs review » Fixed

@axel.rutz Thanks for the patch. Fixed a typo in This shoulc work with both. - and pushed.

Status: Fixed » Closed (fixed)

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