Because field_attach_submit() uses $form['#parents'] to determine the values the wrapper function entity_form_submit_build_entity() should use #parents also to determine entity values.

Patch attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch, entity_form_submit_build_entity-using-parents-0.patch, failed testing.