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, Mar 1, 2:38 PM
Unknown Object (File)
Sat, Feb 15, 1:22 AM
Unknown Object (File)
Fri, Feb 14, 10:55 PM
Unknown Object (File)
Fri, Feb 14, 10:54 PM
Unknown Object (File)
Tue, Feb 11, 9:32 PM
Unknown Object (File)
Jan 30 2025, 6:31 AM
Unknown Object (File)
Jan 28 2025, 3:21 AM
Unknown Object (File)
Jan 24 2025, 9:04 AM
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