Closed GoogleCodeExporter closed 9 years ago
Please check if the demo project works for you, it does pretty well in my
system.
Download it from
http://repo1.maven.org/maven2/com/googlecode/gwtupload/gwtupload-samples/0.6.4/g
wtupload-samples-0.6.4.war and deploy it in any tomcat or jetty server and it
should work.
You can test it online at http://gwtupload.alcala.org
GWTupload is being used in many production systems and it behaves and performs
well.
It seems your server side code has any problem, attach your code so as we could
take a look.
Original comment by manuel.carrasco.m
on 27 Nov 2011 at 12:58
After some extensive testing, I figured out that the error was not in the
server side but the client side.
Originally, I had the following OnChangeUploaderHandler attached to the
MultiUploader:
@Override
public void onChange(IUploader uploader) {
uploader.submit();
}
This code was actually called twice when the user selected a file, causing the
intermittent results I observed. The fix was simply to add an if statement as
seen below:
@Override
public void onChange(IUploader uploader) {
if(uploader.getStatus()==Status.QUEUED){
uploader.submit();
}
}
Original comment by Chrn...@gmail.com
on 13 Dec 2011 at 4:15
Does this continue being an issue with last snapshot?
Is there any patch to apply to the code?
thanks
- Manolo
Original comment by manuel.carrasco.m
on 1 Jun 2012 at 10:28
This issue does not happen with last release, please update to 0.6.5
Thanks for reporting
Original comment by manuel.carrasco.m
on 3 Dec 2012 at 9:04
Original issue reported on code.google.com by
Chrn...@gmail.com
on 23 Nov 2011 at 6:36