Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#8739 closed enhancement (fixed)

dojo.connect(FileUploader, "onError", function(data){}) ?

Reported by: coldfire22x Owned by: Mike Wilcox
Priority: high Milestone: 1.3
Component: DojoX Form Version: 1.3.0b1
Keywords: Cc:
Blocked By: Blocking:


This is a feature request:

While learning how to use the FileUploader? widget, I've noticed that if the response from the server to the .SWF is not formatted correctly, there is no real way to tell if there was an error.

The onProgress event is fired several times (even after d.percent has reached 100) but onComplete is never fired.

If there is a way to detect that the response the .SWF received is not formatted correctly or was never received, I haven't been able to find it. Thanks!

Change History (3)

comment:1 Changed 13 years ago by Mike Wilcox

Owner: changed from dante to Mike Wilcox

comment:2 Changed 13 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

(In [16811]) Fixes #8739 - The SWF now has code in it to check for bad data coming from the server. This is mainly to catch many reported problems with onComplete not firing. It is reported that this problem is due to incorrect server code, and returning the HTML post (using a textarea) instead of simply echoing the object. onError fires with a parse message if this occurs.

comment:3 Changed 13 years ago by Adam Peller

Milestone: tbd1.3

batch move of tickets marked 'tbd' fixed in the 1.3 timeframe

Note: See TracTickets for help on using tickets.