entity_ui_bundle_add_page() does this:
$dummy_entity = entity_create($entity_type, array(
'bundle' => $bundle_name,
));
Obviously, most entity types don't call their bundle key "bundle", that is why we have entity keys.
And this is how a crash occurs.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2126729-1-fix-entity-ui-bundle.patch | 605 bytes | bojanz |
Comments
Comment #1
bojanz commentedHere's a simple patch.
Comment #2
Anonymous (not verified) commentedmarked #2143811: Use [bundle keys][bundle] in entity_ui_bundle_add_page as a duplicate of this
Comment #3
Anonymous (not verified) commentedComment #4
fagohm, not sure how this happened. Howsoever, thanks & committed!