Page MenuHomePhabricator

Internal error thrown when you visit Special:UserProfile with invalid username
Closed, ResolvedPublic

Description

Navigate to http://localhost.beta/w/index.php/Special:UserProfile/zzzzzz
where invalid username

Get exception

MobileUserInfo is intended for logged in users only

Backtrace:

#0 /Users/jrobson/Sites/w/extensions/MobileFrontend/includes/specials/SpecialUserProfile.php(172): MobileUserInfo->__construct(Object(User))
#1 /Users/jrobson/Sites/w/includes/SpecialPage.php(631): SpecialUserProfile->execute('Sudymorse')
#2 /Users/jrobson/Sites/w/includes/SpecialPageFactory.php(489): SpecialPage->run('Sudymorse')
#3 /Users/jrobson/Sites/w/includes/Wiki.php(298): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#4 /Users/jrobson/Sites/w/includes/Wiki.php(602): MediaWiki->performRequest()
#5 /Users/jrobson/Sites/w/includes/Wiki.php(467): MediaWiki->main()
#6 /Users/jrobson/Sites/w/index.php(49): MediaWiki->run()
#7 {main}


Version: unspecified
Severity: normal

Details

Reference
bz55601

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:26 AM
bzimport added a project: MobileFrontend-beta.
bzimport set Reference to bz55601.
bzimport added a subscriber: Unknown Object (MLST).

Note you should be able to view profiles when not logged in

Change 89139 had a related patch set uploaded by Kaldari:
Fixing UserProfile for invalid usernames

https://gerrit.wikimedia.org/r/89139

Change 89139 merged by jenkins-bot:
Fixing UserProfile for invalid usernames

https://gerrit.wikimedia.org/r/89139