Index: field_collection.pages.inc =================================================================== --- a/field_collection.pages.inc +++ b/field_collection.pages.inc @@ -32,6 +32,9 @@ field_attach_form('field_collection_item', $field_collection_item, $form, $form_state); + // Ensure that #entity was attached to the form + $form['#entity'] = $field_collection_item; + $form['actions'] = array('#type' => 'actions', '#weight' => 50); $form['actions']['submit'] = array( '#type' => 'submit',