The locale uninstall tests are currently failing.
This is because LocaleUninstallFunctionalTest::testUninstallProcess():
- Enabled a new language using
locale_add_language() - Calls
DrupalWebTestCase::drupalCreateUser()that callsuser_save()that calls the Field API to store the fields - The field API fails in
field_multilingual_valid_language()because the newly enabled language is not yet reflected in the static cache oflanguage_list()
This was passing before because the static cache of language_list() was never primed before calling user_save(). It is now primed somewhere during the initial cron run.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 709142-locale-add-language-cache.patch | 713 bytes | damien tournoud |
Comments
Comment #1
damien tournoud commentedThis is actually a critical bug (core broken). And here is a patch, that kills the static cache of
language_list()inlocale_add_language().Comment #2
berdirConfirmed and tested locally. All tests pass with this patch and #699842-20: Move permissions to a tab at admin/people/permissions
Comment #3
webchickCommitted to HEAD, thanks!