Page MenuHomePhabricator

Fix missing `willUpload` hook for drag-and-drop chunked upload
ClosedPublic

Authored by epriestley on Sep 8 2015, 4:37 PM.
Tags
None
Referenced Files
F13284093: D14083.id.diff
Mon, Jun 3, 12:10 AM
F13277355: D14083.id34032.diff
Fri, May 31, 10:22 AM
F13258934: D14083.id.diff
Sun, May 26, 2:14 PM
F13252448: D14083.diff
Sat, May 25, 1:27 AM
F13218461: D14083.id34043.diff
Sat, May 18, 12:36 PM
F13218452: D14083.id34032.diff
Sat, May 18, 12:36 PM
F13218448: D14083.id.diff
Sat, May 18, 12:36 PM
F13216027: D14083.id.diff
Fri, May 17, 9:56 PM
Subscribers
None

Details

Summary

Ref T9324. When you upload a normal file, we call willUpload and then didUpload.

When you upload a chunked file, we never call willUpload. This can get things out of sync. Make sure we invoke this event for both chunked and non-chunked uploads.

Test Plan

Got cleaner behavior (redirect after all uploads finish) in new Phacility file upload area.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix missing `willUpload` hook for drag-and-drop chunked upload.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 8 2015, 5:26 PM
This revision was automatically updated to reflect the committed changes.