https://bugzilla.wikimedia.org/show_bug.cgi?id=24995

           Summary: "fallback" key missing from localization cache
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: Internationalization
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: brightb...@gmail.com


I have been getting this for weeks, and i'm still getting it with the latest
trunk:

Notice: Undefined index:  fallback in
/var/www/daniel/TestWiki-TIFF/phase3/includes/LocalisationCache.php on line
211:
  {main}(  ) called from ../index.php:0
  WebRequest->getVal(  ) called from ../index.php:56
  WebRequest->getGPCVal(  ) called from ../WebRequest.php:250
  StubContLang->checkTitleEncoding(  ) called from ../WebRequest.php:228
  StubContLang->__call(  ) called from ../StubObject.php:0
  StubObject->_call(  ) called from ../StubObject.php:121
  StubObject->_unstub(  ) called from ../StubObject.php:57
  StubContLang->_newObject(  ) called from ../StubObject.php:103
  Language::factory(  ) called from ../StubObject.php:126
  Language::newFromCode(  ) called from ../Language.php:140
  Language::getFallbackFor(  ) called from ../Language.php:169
  LocalisationCache->getItem(  ) called from ../Language.php:2803

So, the item "fallback" is missing from the localization cache. While poking at
this, i found that:
* rebuilding the localization cache doesn't help
* it doesn't matter if i'm logged in, or what interface language I use
* I have the content language set to "de", didn't try another.
* If I touch localsettings, the warning is gone for *one* request, then
re-appears

The last point leads me to the conclusion that something gets mangled during
caching. When localsettings changes, the cache is discarded, and the (whatever)
data is created afresh, and works fine. In the next request, it's pulled from
the cache, but is found to be incomplete for some reason.

It's strange that this should only happen to me, though... any ideas?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to