Hi,

When submitting an entity form, I get the following error messages:

Notice: Undefined index: #entityform in ajax_form_entity_entity_view_alter() (line 439 of ...\sites\all\modules\contrib\ajax_form_entity\ajax_form_entity.module).
    Notice: Undefined index: #entityform in ajax_form_entity_entity_view_alter() (line 440 of ...\sites\all\modules\contrib\ajax_form_entity\ajax_form_entity.module).
    Notice: Trying to get property of non-object in ajax_form_entity_entity_view_alter() (line 440 of
...\sites\all\modules\contrib\ajax_form_entity\ajax_form_entity.module).

The attached patch hides these notices, but I didn't test if it works afterwards (I don't use edit/delete links so I'm not sure if the code still works).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lklimek’s picture

eme’s picture

Ok. Thanks. It may work indeed like this.

This bug is specific for entityforms integration.

Commited to dev. To be tested.

eme’s picture

Version: 7.x-1.0-alpha3 » 7.x-1.x-dev
Status: Active » Needs review
eme’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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