filestack / filestack-js

Official Javascript SDK for the Filestack API and content ingestion system.
https://www.filestack.com
MIT License
206 stars 76 forks source link

Uploads incorrectly marked as complete #545

Open ttat-rev opened 5 months ago

ttat-rev commented 5 months ago

When uploading multiple files, we've had occasional reports of files being partially uploaded. It appears that the Filestack modal reports the file as being complete, but only a portion of the files were actually uploaded.

image (3)

Expected Behavior

The onUploadDone callback should have the correct filesUploaded and filesFailed.

Current Behavior

It works as expects most of the time, but there have been a few occasions where a file was partially uploaded. Those files were included in filesUploaded instead of filesFailed.

Steps to Reproduce (for bugs)

https://www.rev.com/checkout/TranscriptionFiles

  1. Click the upload files button
  2. Drag and drop multiple files
  3. Wait for uploads to complete

Context

When we unexpectedly get an incomplete file we have to reprocess the file when the customer reports it. There are costs associated with processing the file.