cornerli / gwtupload

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

MultiUploader.getServerMessage() returns null in OnFinishUploaderHandler #188

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make your servlet write a message as part of its response
2. Create a MultiUploader and attach an OnFinishUploaderHandler
3. In the callback, call MultiUploader.getServerMessage()
4. You get back null

What is the expected output? What do you see instead?
MultiUploader.getServerMessage() calls currentUploader.getServerMessage(), 
which is always null at this point because the uploader will have been reset to 
the new one. If it returned lastUploader.getServerMessage() instead, then it 
would return the right value.

What version of the product are you using? On what operating system?
1.0.0 on Linux.

Please provide any additional information below.
You can work around this by calling the deprecated 
MultiUploader.getServerInfo().message since getServerInfo() returns 
lastUploader.getServerInfo().

Original issue reported on code.google.com by ukcue...@gmail.com on 4 Feb 2014 at 12:12

GoogleCodeExporter commented 8 years ago

Original comment by manuel.carrasco.m on 6 Mar 2014 at 5:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Fixed not released.
Use 1.0.2-SNAPSHOT in the meanwhile I release 1.0.2

Thanks for reporting

Original comment by manuel.carrasco.m on 7 Jan 2015 at 6:16