Page MenuHomePhabricator

Parser::getTitle() is not allowed to return null, eventhough it can happen
Closed, DuplicatePublicBUG REPORT

Description

Paser::getTitle() method explicitly defines it returning a Title object, but in case Parser::setTitle( Title ) was not called, it will try to return null.
Eventhough in most cases, Parser::setTitle() will be called internally, there is no guarantee that will happen, so no guarantee that Parser->mTitle will be a valid Title object