Page MenuHomePhabricator

SpecialPageFactory::getTitleForAlias always throws exception
Closed, ResolvedPublic


It calls resolveAlias, gets an array back, then calls getTitleFor with the result. getTitleFor expects a string, so always throws an exception.

We can either fix getTitleForAlias (just call getTitleFor) with the first element of the array returned by resolveAlias), or delete it and its sole usage in the deprecated function SpecialPage::getTitleForAlias

Version: 1.24rc
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:37 AM
bzimport set Reference to bz67045.
bzimport added a subscriber: Unknown Object (MLST).

Change 141845 had a related patch set uploaded by Ejegg:
Fix SpecialPageFactory::getTitleForAlias

Change 141845 merged by jenkins-bot:
Fix SpecialPageFactory::getTitleForAlias