-
-
Notifications
You must be signed in to change notification settings - Fork 562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh caches + no internet = normal progress #708
Comments
Confirmed.... |
Yes, this is expected, because the loading fails very fast :) When should an error be signalled? When the cache description cannot be refreshed? When the logs cannot be refreshed? Either? Both? |
I think the absence of a connection should be detected whenever it happens (can be at any point in time during the refresh) and signaled to the user. The the process should stop. |
What I'm saying is that we have at least three possible causes of failure:
I'd prefer to detect the second event (geocaching.com being unusable) rather than the first one. Internet might be up and the refresh process might fail anyway because of the second one. |
I think we should display a short report at the end (as a toast) how many caches were refreshed correctly, how many errors and maybe why. |
Being able to distinguish between 'no network' and 'gc.com not responding' could be beneficial anyway, because we can inform the user accordingly. Telling the user 'Connectivity (3G/WLAN) is switched off' or 'No network in reach' or gc.com is not responding, perhaps overload or maintenance' is much more helpful and professional then just 'could not reach gc.com. Check network or try again later' or something. |
Hello, I'm new here, and as a user of c:geo I would participate by solving this problem (I hope it is not-so-hard to solve). I think there should be a dialog window instead of toast, because no internet connection is an important information and toast can be unnoticed by user. |
@donEgro |
Joining IRC channel #cgeo on freenode can also help |
This commit was not enough, there are several other methods that can be called to refresh a cache (e.g. in CacheDetailActivity). |
Ok, I found refresh in:
I haven't found any other refresh, do you think it's all? |
Checking refresh in CacheDetailActivity, CachePopup and cgeocaches.
Fixed Issue #708 - Refresh caches + no internet = normal progress.
I believe this issue can be closed, or if you found some other place, where the caches are refreshed, I'll fix it. |
Closed. Thank you for your fixes. Anyone feel free to reopen if necessary |
From mail:
The text was updated successfully, but these errors were encountered: