Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10271 closed defect (fixed)

FileUploader error handling needed for HTML

Reported by: Adam Peller Owned by: Mike Wilcox
Priority: high Milestone: 1.4
Component: DojoX Form Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description

The io request in uploadHTML only uses the 'handle' property

			dojo.io.iframe.send({
				url: this.uploadUrl,
				form: this._formNode,
				handleAs: "json",
				handle: dojo.hitch(this, function(data, ioArgs, widgetRef){
					this._complete(data);
				})
			}); 

it should probably use 'load' instead of 'handle', and have some sort of feedback tied to the 'error' callback, such as tying to the onError event

Change History (2)

comment:1 Changed 10 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

(In [20771]) Fixes #10264, #10271, #10313, #10235, #10295 - works in Dialog boxes (still not tabs, that one is harder) - fixed HTML uploader issues. Added new properties to prevent errors of large uploads. Added ability for individual file errors (in Flash).

comment:2 Changed 10 years ago by Mike Wilcox

Milestone: tbd1.4
Note: See TracTickets for help on using tickets.