Last modified: 2006-04-26 17:18:24 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 T7728, the corresponding Phabricator task for complete and up-to-date bug report information.
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