[TIMOB-2356] Geo + Analytics issues - when backend is down, apps crash
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | analytics, geolocation, ios |
Reporter | Thomas Huelbert |
Assignee | Reggie Seagraves |
Created | 2011-04-15T03:17:35.000+0000 |
Updated | 2011-04-17T01:58:52.000+0000 |
Description
We are working on creating a repro case in house, but until then, the issue as reported was:
So when the backend is not present (As seen this last weekend when our servers were down) and the app makes a connection the app crashes. Assigning to Blain, looking into a repro case
(from [1a11a62a8c0ffc2f9ee5fbf26da27ff938a5e404]) [#2356 state:invalid] Updated KS test to demonstrate use of 'success' flag on Geolocation evts. https://github.com/appcelerator/titanium_mobile/commit/1a11a62a8c0ffc2f9ee5fbf26da27ff938a5e404"> https://github.com/appcelerator/titanium_mobile/commit/1a11a62a8c0f...
(from [2a7041f77f335e1f53f828d6e599f60dd3a23493]) [#2356 state:fixed-in-qa] Forgot about the analytics part of this bug. Analytics now checks for errors in connecting to a service, and re-queues events as it does with lack of network availability. https://github.com/appcelerator/titanium_mobile/commit/2a7041f77f335e1f53f828d6e599f60dd3a23493"> https://github.com/appcelerator/titanium_mobile/commit/2a7041f77f33...
(from [4e707ce21d870d0e644a3dd12af123be6779458e]) [#2356] Whoops, thought the error was a string for some reason. https://github.com/appcelerator/titanium_mobile/commit/4e707ce21d870d0e644a3dd12af123be6779458e"> https://github.com/appcelerator/titanium_mobile/commit/4e707ce21d87...
Geo actually does crash when unable to contact the server. Tested with an invalid URL in place of Appcelerator's.
(from [859c3aab36c5bc89f5d32b215951cd74af27ccc1]) [#2356 state:fixed-in-qa] Typo fix. Testing indicates that as long as users are checking success/failure, we are now OK. https://github.com/appcelerator/titanium_mobile/commit/859c3aab36c5bc89f5d32b215951cd74af27ccc1"> https://github.com/appcelerator/titanium_mobile/commit/859c3aab36c5...
(from [3b525c912e21187eadef481094c52862a13869e7]) [#2356] Fix for bad reverse-geo information. https://github.com/appcelerator/titanium_mobile/commit/3b525c912e21187eadef481094c52862a13869e7"> https://github.com/appcelerator/titanium_mobile/commit/3b525c912e21...
When given a black hole (https://1.2.3.4/...">https://1.2.3.4/...) it successfully reports timing out and keeps on chugging. On a 404, it doesn't report, but it keeps on chugging anyways. This be fixed.