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
F14399703: D21854.id.diff
Sun, Dec 22, 5:35 PM
Unknown Object (File)
Fri, Dec 20, 11:28 PM
Unknown Object (File)
Fri, Dec 20, 5:11 PM
Unknown Object (File)
Tue, Dec 10, 5:44 PM
Unknown Object (File)
Sun, Dec 8, 5:33 AM
Unknown Object (File)
Fri, Dec 6, 5:17 AM
Unknown Object (File)
Tue, Nov 26, 11:54 AM
Unknown Object (File)
Sat, Nov 23, 9:58 AM
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