FLUID-2010: Deleting uploaded files from the file queue will cause it to skip files and hang

Metadata

Source
FLUID-2010
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2008-12-17T13:25:30.000-0500
Updated
2009-01-29T09:18:41.000-0500
Versions
  1. 0.6
  2. 0.7
Fixed Versions
  1. 0.8
Component
  1. Uploader

Description

Deleting uploaded files from the file queue will cause it to skip files and hang

Steps to reproduce:

1) Open the uploader demo:
http://build.fluidproject.org/fluid/fluid-components/html/templates/Uploader.html

2) Add several files to the file queue

3) Start uploading the files and click "Stop Upload" after one or two files upload

4) Using the keyboard tab into the file queue and press the 'delete' key to remove the uploaded files from the file queue

5) Click the 'Upload' button to resume the upload

Notice an equal number of files, to the ones that were removed, are skipped and that uploader hangs at the end.

This issues is dependent on FLUID-1819

Environments

FF2, FF3, Opera 9.5 (Mac OS 10.5)
FF2, FF3, IE6, IE7, Opera 9.5 (Win XP)
IE7, FF3 (Win Vista)

Attachments

Comments

  • Justin Obara commented 2008-12-17T13:26:46.000-0500

    'screenshot-1' shows the first file skipped

  • Justin Obara commented 2009-01-06T12:14:27.000-0500

    Bug Parade 0.7 release

  • Justin Obara commented 2009-01-13T09:55:10.000-0500

    The patches for FLUID-1982 did not resolve this issue.

  • Eli Cochran commented 2009-01-16T12:20:23.000-0500

    Using Antranig's very clean and easy to use Fluid.enabled() method, I have now rendered uploaded rows undeletable, thus closing this bug.

  • Justin Obara commented 2009-01-19T08:40:11.000-0500

    It seems that you can still remove the uploaded files using a combination of the keyboard and mouse.

    Use the mouse to click on the check mark.
    Using the keyboard tap the delete key.

    Notice that the file is removed from the queue and the upload issue still occurs.

  • Eli Cochran commented 2009-01-28T12:32:29.000-0500

    We now check to see if the file was completed and if so, we don't allow the file to be removed from the queue

  • Justin Obara commented 2009-01-29T09:18:41.000-0500

    Verified fix using:

    FF2, FF3, Opera 9.5 (Mac OS 10.5)
    FF2, FF3, IE6, Opera 9.5 (Win XP)
    IE7, FF3 (Win Vista)