Last modified: 2006-04-26 17:18:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 5728 - mVersion missing from User::__sleep() leading to constant cache miss
mVersion missing from User::__sleep() leading to constant cache miss
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-26 16:50 UTC by netocrat
Modified: 2006-04-26 17:18 UTC (History)
0 users

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


Attachments

Description netocrat 2006-04-26 16:50:08 UTC
'mVersion' is missing from the array returned by User::__sleep() so that in
User::loadFromSession() even on a cache hit the check ($user->mVersion <
MW_USER_VERSION) evaluates true and a miss is assumed.

This is present in the current svn repository and seems to have been introduced
in CVS file version 1.162 of June 26 2006 tagged as 1_5beta1, where mVersion was
introduced but not added to __sleep return - which itself was only introduced
one file version earlier.

There also doesn't seem to be a specific component where this bug fits - how
about a new one: 'Caching'?
Comment 1 Antoine "hashar" Musso (WMF) 2006-04-26 17:18:24 UTC
Fixed in trunk@13874

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


Navigation
Links