mobilesfeatures / gwtupload

Automatically exported from code.google.com/p/gwtupload
Other
0 stars 0 forks source link

Upload is not cancelled correctly #102

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start to upload a file
2. Cancel an upload
3. When using the ModalUploadStatus - the popup remains opened.

What is the expected output? What do you see instead?
Popup should be closed and the uploadFinished method should be executed.

What version of the product are you using? On what operating system?
0.6.4-SNAPSHOT

Please provide any additional information below.
Instead of closing the popup the log message is displayed on the GWT console: 

incorrect response: filename.jpg <response><cancelled>true</cancelled</response>

That happens because the tag used in the response is named "cancelled" but the 
static String TAG_CANCELED defined in the Uploader.java class is set to 
"canceled" (with one l).

Original issue reported on code.google.com by jacekza...@gmail.com on 19 Apr 2011 at 10:52

GoogleCodeExporter commented 8 years ago
Yeah, it seems both forms are accepted in English, I'll fix the issue using 
just one.

Original comment by manuel.carrasco.m on 29 Apr 2011 at 5:40

GoogleCodeExporter commented 8 years ago

Original comment by manuel.carrasco.m on 29 Apr 2011 at 6:28

GoogleCodeExporter commented 8 years ago
Fixed in r917

Original comment by manuel.carrasco.m on 29 Apr 2011 at 6:32

GoogleCodeExporter commented 8 years ago

Original comment by manuel.carrasco.m on 29 Apr 2011 at 6:40