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
Unknown Object (File)
Fri, Dec 27, 5:50 PM
Unknown Object (File)
Thu, Dec 26, 5:21 PM
Unknown Object (File)
Fri, Dec 20, 9:58 PM
Unknown Object (File)
Sun, Dec 15, 8:58 PM
Unknown Object (File)
Thu, Dec 12, 11:21 PM
Unknown Object (File)
Thu, Dec 12, 3:40 AM
Unknown Object (File)
Tue, Dec 10, 1:33 PM
Unknown Object (File)
Mon, Dec 9, 10:50 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.