Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-1936 "Stop Upload" button throws an error
  3. FLUID-1947

Uploader indicate that 1 too many files where uploaded if the Upload is cancelled in the middle of an upload

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.6beta1
    • 0.6
    • Uploader
    • None

    Description

      Uploader indicate that 1 too many files where uploaded if the Upload is cancelled in the middle of an upload

      Because we increment the batch.numFilesCompleted in SWFUploadManager.js (line 74) even if the Upload was stopped or the file errored, we could present the user with the wrong number of uploaded files in the UI.

      Need to create a batch.numUploadErrors where we keep track of errors and then calculate the number in the UI using (batch.numFilesCompleted - batch.numUploadErrors). This new param will allow us to display a new "X files were not correctly uploaded message..."

      Attachments

        1. FLUID-1947.b.patch
          4 kB
          Eli Cochran
        2. FLUID-1947.d.patch
          4 kB
          Colin Clark

        Activity

          People

            eli Eli Cochran
            eli Eli Cochran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: