Last modified: 2012-05-26 21:35:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38988, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36988 - [Regression] "MWException: Language::isValidBuiltInCode must be passed a string, NULL given"
[Regression] "MWException: Language::isValidBuiltInCode must be passed a stri...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
ResourceLoader (Other open bugs)
1.20.x
All All
: High blocker (vote)
: 1.20.0 release
Assigned To: Aaron Schulz
: code-update-regression
: 36992 (view as bug list)
Depends on:
Blocks: 36974
  Show dependency treegraph
 
Reported: 2012-05-20 14:34 UTC by Niklas Laxström
Modified: 2012-05-26 21:35 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2012-05-20 14:34:49 UTC
exception 'MWException' with message 'Language::isValidBuiltInCode must be passed a string, NULL given' in /srv/web/XXX/docroot/languages/Language.php:256
Stack trace:
#0 /srv/web/XXX/docroot/languages/Language.php(188): Language::isValidBuiltInCode(NULL)
#1 /srv/web/XXX/docroot/languages/Language.php(169): Language::newFromCode(NULL)
#2 /srv/web/XXX/docroot/includes/resourceloader/ResourceLoaderContext.php(164): Language::factory(NULL)
#3 /srv/web/XXX/docroot/includes/resourceloader/ResourceLoaderModule.php(117): ResourceLoaderContext->getDirection()
#4 /srv/web/XXX/docroot/includes/resourceloader/ResourceLoaderUserCSSPrefsModule.php(87): ResourceLoaderModule->getFlip(Object(ResourceLoaderContext))
#5 /srv/web/XXX/docroot/includes/resourceloader/ResourceLoader.php(721): ResourceLoaderUserCSSPrefsModule->getStyles(Object(ResourceLoaderContext))
#6 /srv/web/XXX/docroot/includes/OutputPage.php(2631): ResourceLoader->makeModuleResponse(Object(ResourceLoaderContext), Array)
#7 /srv/web/XXX/docroot/includes/OutputPage.php(3405): OutputPage->makeResourceLoaderLink(Array, 'styles')
#8 /srv/web/XXX/docroot/includes/OutputPage.php(2428): OutputPage->buildCssLinks()
#9 /srv/web/XXX/docroot/includes/SkinTemplate.php(461): OutputPage->headElement(Object(SkinMrLocale))
#10 /srv/web/XXX/docroot/includes/OutputPage.php(2003): SkinTemplate->outputPage()
#11 /srv/web/XXX/docroot/includes/Wiki.php(405): OutputPage->output()
#12 /srv/web/XXX/docroot/includes/Wiki.php(593): MediaWiki->finalCleanup()
#13 /srv/web/XXX/docroot/includes/Wiki.php(502): MediaWiki->main()
#14 /srv/web/XXX/docroot/index.php(58): MediaWiki->run()
#15 {main}
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-20 16:46:20 UTC
Removing myself from CC:, I am not a RL guy :-D
Comment 2 Chad H. 2012-05-21 19:48:10 UTC
*** Bug 36992 has been marked as a duplicate of this bug. ***
Comment 3 Krinkle 2012-05-25 21:20:53 UTC
This is currently breaking the "user" css module (ResourceLoaderUserCSSPrefsModule).

The page only outputs an empty <style> tag with the stack trace in it.

This regression has to be fixed asap, blocking release (later), but for the short term also deployment of 1.20wmf4 since this wasn't in 1.20wmf3 yet.
Comment 4 Aaron Schulz 2012-05-25 21:55:58 UTC
https://gerrit.wikimedia.org/r/8978

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links