Notice: Undefined index: #submit 在 inline_entity_form_form_alter() (line 792 at /home/hej/src/php/drupal7/sites/all/modules/fields/inline_entity_form/inline_entity_form.module).
    Warning: array_merge(): Argument #2 is not an array 在 inline_entity_form_form_alter() (line 792 at /home/hej/src/php/drupal7/sites/all/modules/fields/inline_entity_form/inline_entity_form.module).

Comments

jian he’s picture

StatusFileSize
new748 bytes
jian he’s picture

Title: Undefined index: #submit 在 inline_entity_form_form_alter() » Undefined index: #submit at inline_entity_form_form_alter()
marcusx’s picture

Status: Active » Needs work
Notice: Undefined index: #submit in inline_entity_form_form_alter() (Line 788 from /.../modules/contrib/inline_entity_form/inline_entity_form.module).

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in inline_entity_form_form_alter() (Line 788 from .../modules/contrib/inline_entity_form/inline_entity_form.module).

I have this issue also some lines above. This is not fixed by this patch.

marcusx’s picture

Issue summary: View changes

Wrapping summary in code tags.

andyg5000’s picture

andyg5000’s picture

Status: Needs work » Needs review
delta’s picture

Works for me with latest release of inline entity form and the patch : inline_entity_form-fix_undefined_indexes_in_form_alter-2165113-alternate.patch
applied, the notices disappear.

Robert_W’s picture

Also works for me with the latest version (7.x-1.4) and inline_entity_form-fix_undefined_indexes_in_form_alter-2165113.patch (not the alternate, because the first one is better in my opinion).

amitaibu’s picture

inline_entity_form-fix_undefined_indexes_in_form_alter-2165113.patch seems better to me.

bojanz’s picture

Status: Needs review » Fixed

Here we go:
http://drupalcode.org/project/inline_entity_form.git/commitdiff/a2158c2?...

Thanks, Andy (and everyone who reviewed). I'll tag a new release soon.

tim bozeman’s picture

=D

Status: Fixed » Closed (fixed)

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

sandro.salari’s picture

Hi,
My latest try is with

ECK : 7.x-2.0-rc3
IEF: 7.x-1.5+3-dev

Inline form for related ECK entity is showed and managed on GUI but not saved and reloaded.

Can you help me please?