Notice: Undefined index: args in _node_reference_view_settings_validate() (line 161 of example.dev/sites/all/modules/references/node_reference/node_reference.module).

CommentFileSizeAuthor
#1 undefined_index-1235224-1.patch809 bytesfgm

Comments

fgm’s picture

Status: Active » Needs review
StatusFileSize
new809 bytes

Attempts to use array key without checking for its existence. Patch should fix it.

Could you describe how to reproduce it ?

yched’s picture

Status: Needs review » Closed (duplicate)

Yeah, I'm not sure when this could happen - the _node_reference_view_settings_validate() callback is only added when the 'args' form element is present.

beta3 had such an error, and it was fixed by #1149600: Undefined index error in -dev (see CHANGELOG.txt). Assuming fixed (duplicate). @budda, please reopen if the error still happens with current -dev.

fgm’s picture

Well, the test introduced in #1149600: Undefined index error is no longer present in the latest checkout.

budda’s picture

It appears I was using beta3 when the error occured.