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
F18444762: D21854.diff
Sun, Aug 31, 7:52 PM
F18345507: D21854.diff
Tue, Aug 26, 11:32 AM
F18300584: D21854.diff
Sat, Aug 23, 7:13 PM
F18226835: D21854.id52087.diff
Wed, Aug 20, 4:55 AM
F18081862: D21854.diff
Tue, Aug 5, 2:33 AM
F18071935: D21854.id52086.diff
Mon, Aug 4, 4:43 PM
F17917998: D21854.id.diff
Jul 30 2025, 12:28 AM
F17840978: D21854.diff
Jul 26 2025, 9:46 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