#10295 closed defect (fixed)
Dojox File uploader - Remove file issue (Gana)
Reported by: | ganapathyp | Owned by: | Mike Wilcox |
---|---|---|---|
Priority: | high | Milestone: | 1.4 |
Component: | DojoX Form | Version: | 1.3.2 |
Keywords: | Gana File uploader | Cc: | |
Blocked By: | Blocking: |
Description
Removing file though removes the <TD> tag in html, when i click on submit, it still uploads the file i just removed... Easy to recreate: Scenario 1:
- Add 3 files
- Remove 1st file
- Add a new file
- Click on submit/upload... even file removed is uploaded
Scenario 2:
- Upload 1st time
- Add 3 files
- Remove 1st file and try again
var h = new dojox.form.FileUploader?(dojo.mixin({
force:"html", showProgress:true, progressWidgetId:"progressBarHtml", selectMultipleFiles:true, fileListId:"hFiles", tabIndex:11
}, props), "btnH");
Change History (5)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Owner: | changed from dante to Mike Wilcox |
---|
comment:3 Changed 11 years ago by
You are right. The problem was the names of fileInputs needed to stay in numeric order and start with zero - at least for my PHP code in resources. So this problem actually occurs with the first upload if you delete any of the files but the last. The fix will be committed.
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 11 years ago by
Milestone: | tbd → 1.4 |
---|
Note: See
TracTickets for help on using
tickets.
I'm sorry, clicked on it while i was still composing... Defect is easily reproducable... Remove files has issues after you upload it once 1.Upload once
Uploader will add all 3 files...