I already posted an issue for this in the core issue queue: #1405036: entity_form_submit_build_entity() should start by populating the bundle property of an entity.

However, for now, we can fix this in the Entity API inside the Entity Admin UI Controller (or, alternatively, directly in entity_ui_form_submit_build_entity().

This patch fixes it inside of the controller, but it can be moved to the function as well.

CommentFileSizeAuthor
entity-ui-form-submit-build-entity.patch1.11 KBfubhy
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fago’s picture

Status: Active » Needs review

Looks good to me. Let's let the test bot run though.

fago’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

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