Page MenuHomePhabricator

Flatten "RemarkupValue" objects when setting field defaults for custom forms
ClosedPublic

Authored by epriestley on Jun 14 2022, 4:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 18, 7:36 AM
Unknown Object (File)
Fri, Jan 17, 11:38 PM
Unknown Object (File)
Fri, Jan 17, 1:24 AM
Unknown Object (File)
Thu, Jan 2, 3:30 AM
Unknown Object (File)
Fri, Dec 27, 5:05 PM
Unknown Object (File)
Thu, Dec 26, 4:19 AM
Unknown Object (File)
Sun, Dec 22, 5:35 PM
Unknown Object (File)
Fri, Dec 20, 11:28 PM
Subscribers
None

Details

Summary

Ref T13685. "RemarkupEditField" uses a "RemarkupValue" internally, and it currently attempts to serialize into the database unsuccessfully.

Instead, flatten the value before returning it for storage.

Test Plan
  • Edited the default description of a task in a custom form.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable