Page MenuHomePhabricator

Fix "add more metadata" fatal in Pholio
ClosedPublic

Authored by epriestley on Jul 11 2019, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 4:25 AM
Unknown Object (File)
Fri, Apr 5, 12:13 AM
Unknown Object (File)
Wed, Apr 3, 11:03 AM
Unknown Object (File)
Wed, Apr 3, 11:03 AM
Unknown Object (File)
Wed, Apr 3, 10:48 AM
Unknown Object (File)
Wed, Apr 3, 10:10 AM
Unknown Object (File)
Mon, Apr 1, 10:04 PM
Unknown Object (File)
Mon, Apr 1, 4:53 AM
Subscribers
None

Details

Summary

Ref T13332. This fix isn't terribly satisfying, but resolves the issue: this behavior may attempt to build HTML blocks with metadata after Javascript footer rendering has started. Use hsprintf() to flatten the markup earlier.

Test Plan

Put a T123 reference in the description of a Pholio image, then loaded a mock.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable