Page MenuHomePhabricator

Pholio - robustify submission errors to retain image edits
ClosedPublic

Authored by btrahan on Feb 11 2014, 7:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 10, 12:57 PM
Unknown Object (File)
Wed, May 7, 12:05 AM
Unknown Object (File)
Tue, May 6, 9:03 AM
Unknown Object (File)
Tue, May 6, 9:03 AM
Unknown Object (File)
Tue, May 6, 9:03 AM
Unknown Object (File)
Mon, May 5, 10:28 PM
Unknown Object (File)
Apr 28 2025, 2:28 AM
Unknown Object (File)
Apr 26 2025, 6:30 PM
Tokens
"Mountain of Wealth" token, awarded by chad.

Details

Summary

we should build all the image stuff on every post and use that posted image data if there's an error. this diff makes that so. Fixes T4380.

Test Plan

made a mock with no title, tried to save it, and was delighted to see my images still there. edited a mock - removing the title and adding images - verified edits showed up after erroneous submission. added a title and submitted and changes were saved.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped