When generating content for an entity that has a single bundle (i.e., the entity "bundle" key is empty), the module will pass an array with a "null" key to entity_create(), creating an error.

This has to do with the fact that, as per the documentation for hook_entity_info(), the "entity keys", "bundle" information is not required, yet the module expects it to be present.

Patch coming up.

Comments

wadmiraal created an issue. See original summary.

wadmiraal’s picture

Status: Active » Needs review
StatusFileSize
new759 bytes
joachim’s picture

Status: Needs review » Closed (duplicate)

Ah yes, there's a gotcha with that one, which I discovered not that long ago.
If you don't specify this property, core fills in an empty string...

Thanks for the patch -- though it looks like this is already fixed in the latest dev?