Download & Extend

Notice: Undefined offset: 1 in _entityreference_autocomplete_validate() (line 310 of entityreference/entityreference.module)

Project:Entity reference
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When entering an incorrect default_value in the autocomplete widget then save the field setting form, the following error occurs :
Notice: Undefined offset: 1 in _entityreference_autocomplete_validate() (line 310 of entityreference/entityreference.module)

Comments

#1

This patch should remove the warning.

AttachmentSizeStatusTest resultOperations
1258404-undefined-offset-entityreference-autocomplete-validate.patch1.14 KBIgnored: Check issue status.NoneNone

#2

Status:needs review» fixed

Thanks for your report and the patch. Merged in a8869b7.

#3

Status:fixed» closed (fixed)

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