Opened 9 years ago
Closed 8 years ago
#15368 closed defect (invalid)
dojox.form.uploader.plugins.HTML5: formfieldname is always uploadedFiles[]
Reported by: | Irfan Ahmed | Owned by: | Irfan Ahmed |
---|---|---|---|
Priority: | low | Milestone: | 1.9 |
Component: | DojoX Uploader | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
I am uploading multiple files to a servlet MultipartHandlerServlet
that I have written. The issue I am seeing is that all files have a common name as uploadedFiles[] in the disposition line instead uploadedFiles[0]
, uploadedFiles[1]
and so on.
Now if I change the code in dojox/form/uploader/plugins/HTML5.js (Line 92) from
fd.append(this.name+"s[]", f);
to
fd.append(this.name+"s[" + i "]", f);
it works as expected. This seems like a bug in that the multiple file names are given the same name
Attachments (1)
Change History (3)
Changed 9 years ago by
comment:1 Changed 8 years ago by
Milestone: | tbd → 1.9 |
---|---|
Owner: | changed from Mike Wilcox to Irfan Ahmed |
Priority: | undecided → low |
Status: | new → pending |
comment:2 Changed 8 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
This plugin was moved into Uploader. Can you please verify if this is still an issue with 1.9 alpha2?