https://bugzilla.wikimedia.org/show_bug.cgi?id=40342
Web browser: ---
Bug #: 40342
Summary: User::newFromId should not assume ID exists
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
In other words:
"User:newFromId should not set ItemLoaded['id'] = true"
$ php maintenance/eval.php:
> < $u = User:newFromId( 1000000000000000000 ); // Exa-, 10^18
> < $u->getId();
> 1000000000000000000;
> > var_dump( $u->isLoggedIn() );
> > true
> > $u->isItemLoaded( 'id' );
> > true
Bumped into this while fixing bug 40340.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l