Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#13458 closed defect (fixed)

Flash uploader _fileMap isn't reset when flashReset is called

Reported by: Yasir Assam Owned by: dylan
Priority: high Milestone: 1.9
Component: DojoX Uploader Version: 1.6.1
Keywords: Cc:
Blocked By: Blocking:

Description

I'm not sure if this is a bug or not.

dojox.form.uploader.plugins.Flash defines a member _fileMap which is used to keep track of files upload progress.

When flashReset() is called, _files is emptied but _fileMap is not, which means that if you start another upload the progress event doesn't start from 0 but from some value > 0 and < 100%.

Shouldn't flashReset() also do the following?

this._fileMap = { };

Change History (3)

comment:1 Changed 6 years ago by dylan

Milestone: tbd1.8.4
Owner: changed from Mike Wilcox to dylan
Status: newassigned

Agreed, will fix it now.

comment:2 Changed 6 years ago by dylan

Resolution: fixed
Status: assignedclosed

In [30824]:

fixes #13458, flash file uploader reset should also reset _fileMap

comment:3 Changed 6 years ago by bill

Milestone: 1.8.41.9

Looks like this is only in 1.9 (which is fine for a 20 month old ticket), updating milestone to match.

Note: See TracTickets for help on using tickets.