Editing a node with a group reference field that has entityreference_prepopulate enabled, getting this error:

Notice: Undefined index: action in entityreference_prepopulate_field_access() (line 172 of /path/to/modules/entityreference_prepopulate/entityreference_prepopulate.module).

The only value in $instance['settings']['behaviors']['prepopulate'] was status => 1.

Comments

brad.bulger’s picture

I added a line to define the keys referenced in the rest of the function. I don't know if the lack of those keys indicates some other issue, though, so maybe you don't want to hide the error.

amitaibu’s picture

Status: Active » Needs review

Correct status

anybody’s picture

Status: Needs review » Needs work

Needs reroll against latest 7.x-1.x-dev!

anybody’s picture

Could this please be rewritten as MR?