Page MenuHomePhabricator

ItemHandler::getParserOutput() must not touch OutputPage
Closed, ResolvedPublic

Description

ItemHandler::getParserOutput() currently uses ItemView::render(), which in turn manipulates the OutputPage.

ItemHandler::getParserOutput() is called in various contexts, and must not have side effects on the global state. We need separate functions for constructing the ParserOutput and for actually showing an item (using a ParserOutput object).


Version: master
Severity: normal

Details

Reference
bz37502

Related Objects

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:28 AM
bzimport set Reference to bz37502.
bzimport added a subscriber: Unknown Object (MLST).