When creating new field to user profile I did get this Notices:

Notice: Undefined index: #language in field_ui_field_edit_form_submit() (line 1288 of D:\xampp\htdocs\drupal\modules\field_ui\field_ui.admin.inc).
Notice: Undefined index: in field_ui_field_edit_form_submit() (line 1289 of D:\xampp\htdocs\drupal\modules\field_ui\field_ui.admin.inc).

CommentFileSizeAuthor
#9 fields_0_0.patch918 byteswebchick
#4 fields.patch918 byteslambic
#1 564606_notice.patch1.18 KBmhrabovcin

Comments

mhrabovcin’s picture

StatusFileSize
new1.18 KB

Patch for it.

mhrabovcin’s picture

Status: Active » Needs review
yched’s picture

This fixes the symptom, but I'll let plach feedback whether !isset($instance_values['default_value_widget'][$field_name]['#language']) is a 'normal' situation or the sign of a bug somewhere else.

lambic’s picture

StatusFileSize
new918 bytes

oops, didn't realise I created a duplicate, I've added my patch here too.

lambic’s picture

Issue tags: +Fields in Core

tagging

lambic’s picture

Note about my patch: #language is not defined in $form_state, only in $form, so I'm referencing it there instead.

Status: Needs review » Needs work

The last submitted patch failed testing.

karens’s picture

Status: Needs work » Reviewed & tested by the community

In spite of the failure above, I can confirm that this patch does fix the problem.

webchick’s picture

StatusFileSize
new918 bytes

Try that again, testing bot.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Fixed!

Status: Fixed » Closed (fixed)
Issue tags: -Fields in Core

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