Skip to main content
This topic has been closed for replies.

2 replies

Participating Frequently
July 2, 2013

Bug report.

The Result attribute returns a Structure instead of an Array of Structures when an exception is thrown under the following condition:

1. More than one file is being Uploaded.

2. The first file uploads successfully.

3. The second or subsequent file throws an exception; in my case the file didn't meet the acceptable mime types specified in the Accept attribute.

When this occurs the Result returned is a Structure which contains the results for the last successfully processed file.

Example: If you are uploading 6 files and sixth one throws an exception the Structure contains the results for the fifth file; the results for file 1-4 are lost.

Additional info:

If you are uploading only one file and an exception is thrown, Result is an empty Array. Good

If you are uploading more than one file and an exception is thrown on the first file, Result is an empty Array. Good

Charlie Arehart
Community Expert
Community Expert
July 8, 2013

@Jerry, note that if you really mean to be making a bug report, you want to file that at https://bugbase.adobe.com/, to ensure that Adobe sees it, it gets tracked, you'll get notified of any response, and others can vote on/watch the progress of the bug. There's no guarantee anyone from Adobe would respond to your observation here.

Still, sharing the info here is indeed helpful, so other readers of the documentation page in question know of the concern. But then some people (sharing such info) would instead file a bug report and then offer here a link to its URL with perhaps just the title. Hope that's helpful.

/Charlie (troubleshooter, carehart. org)
Participating Frequently
July 12, 2013

@carehart, thanks for the info. I just submitted a bug report.

itisdesign
Inspiring
March 24, 2012

The "See also" section should probably also have a link to this doc: fileUploadAll.