If a language previously registered language detection method is removed through hook_language_negotiation_info_alter, the langauge configuration UI shows the following error:

Notice: Undefined index: locale-browser in _locale_languages_configure_form_language_table() (line 548 of \modules\locale\locale.admin.inc).

Comments

plach’s picture

Status: Active » Needs review
Issue tags: +Quick fix
StatusFileSize
new1.89 KB
new2.59 KB

The test only version is supposed to fail.

Status: Needs review » Needs work

The last submitted patch, language-1060328-1-test.patch, failed testing.

plach’s picture

Status: Needs work » Needs review

Test pass and capture the bug. This should be ready to go.

plach’s picture

Version: 7.x-dev » 8.x-dev
Issue tags: +Needs backport to D7
plach’s picture

Status: Needs review » Closed (duplicate)