Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2356] Geo + Analytics issues - when backend is down, apps crash

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:52.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsiOS
Labelsanalytics, geolocation, ios
ReporterThomas Huelbert
AssigneeReggie Seagraves
Created2011-04-15T03:17:35.000+0000
Updated2011-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:

Comments

  1. Thomas Huelbert 2011-04-15

    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

  2. Jeff Haynie 2011-04-15

    (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...

  3. Jeff Haynie 2011-04-15

    (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...

  4. Jeff Haynie 2011-04-15

    (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...

  5. Stephen Tramer 2011-04-15

    Geo actually does crash when unable to contact the server. Tested with an invalid URL in place of Appcelerator's.

  6. Jeff Haynie 2011-04-15

    (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...

  7. Jeff Haynie 2011-04-15

    (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...

  8. Blain Hamon 2011-04-15

    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.

JSON Source