wei-spring / codenameone

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

ConnectionRequest.retry() not working properly #1329

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Application server is set to response with error code, lets say error 500. 

2. Mobile application shows a dialog of error 500 and asks to either "Cancel" 
or "Retry".

3. Meanwhile (while dialog is been shown and nothing is clicked yet) 
application server is set to respond with proper response again.

4. "Retry" is clicked.

5. Old request is sent and is properly responded by the application server.

6. A new request is made, nothing happens. 

What is the expected output? What do you see instead?

After clicking the "Retry" button the old request should be revived and 
responded by the application server (as it does) but the next request after 
that gets hung as the whole application. 

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

The latest. Windows 7.

Please provide any additional information below.

https://groups.google.com/forum/embed/?place=forum/codenameone-discussions&shows
earch=true&showpopout=true&hl=en&parenturl=http%3A%2F%2Fwww.codenameone.com%2Fdi
scussion-forum.html#!searchin/codenameone-discussions/retry/codenameone-discussi
ons/x2Zytym4jiY/2av4PuY75rcJ

Original issue reported on code.google.com by mikko.nu...@gmail.com on 2 Feb 2015 at 3:18