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)
Wed, Nov 20, 3:16 AM
Unknown Object (File)
Sat, Nov 16, 2:54 PM
Unknown Object (File)
Tue, Nov 12, 12:34 PM
Unknown Object (File)
Tue, Nov 12, 9:29 AM
Unknown Object (File)
Tue, Nov 12, 8:20 AM
Unknown Object (File)
Thu, Nov 7, 6:57 PM
Unknown Object (File)
Oct 19 2024, 1:35 PM
Unknown Object (File)
Oct 17 2024, 5:18 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