FLUID-1739: File sizes don't increment in the total progress bar if the uploaded files are very small

Metadata

Source
FLUID-1739
Type
Sub-issue
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Colin Clark
Reporter
Colin Clark
Created
2008-10-29T21:06:17.000-0400
Updated
2008-12-03T11:55:00.000-0500
Versions
N/A
Fixed Versions
  1. 0.6beta1
Component
  1. Uploader

Description

When files are too small to provoke an onFileProgress event from SWFUpload, the currentBatch.bytesUploaded is never updated. As a result, the total file progress reports that 0 KB was uploaded even when a successful batch was actually uploaded.

Comments

  • Colin Clark commented 2008-10-29T21:11:13.000-0400

    This was resolved by keeping track of the bytesUploaded for each file in SWFUploadManager. onFileSuccess, we check if that value is 0 and simply set it to the total size of the file.

  • Justin Obara commented 2008-12-03T11:55:00.000-0500

    appears to be fixed