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, Nov 23, 9:58 AM
Unknown Object (File)
Sat, Nov 23, 9:58 AM
Unknown Object (File)
Sat, Nov 23, 9:58 AM
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
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
Branch
fdefault1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25762
Build 35590: arc lint + arc unit