Page MenuHomePhabricator

Handle formatting failures gracefully in #property parser function
Closed, ResolvedPublic

Description

The #property parser function needs to handle different error cases gracefully (malformed value, unknown property, etc). In case of error, it should return an empty string (so the output can be used in conditionals), but attach a warning to the ParserOutput object, which can then be rendered somewhere on the page.


Version: unspecified
Severity: normal

Details

Reference
bz49241

Event Timeline

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