{ "id": "62877", "key": "TIMOB-2245", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:31.000+0000", "created": "2011-04-15T03:14:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "3.2", "analytics", "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-04-17T01:58:32.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

found on 3g iphone (3.1.2) 4th gen ipod (4.1) mobile sdk build\n1.5.0.8846d87

\n

1.3.2 or earlier, launch KS, connect to debug
\n2.hit the home button to close the app, view output

\n

results:
\nMon Nov 1 12:00:43 unknown\nUIKitApplication:com.appcelerator.KitchenSink[0xa2f6][819] :\n[DEBUG] attempt to send analytics event but\nno network. will try again in 15 seconds

\n

regression (not seen on 1.4.1.1), not seen on 4.0+ devices when\nquitting the running app (home, double click home button, quit the\napp)

{html}", "attachment": [], "flagged": false, "summary": "iOS: Analytics error on shutdown 3.2 or earlier ", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127932", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Notes to self:

\n

Not technically a regression. In 1.4, a deadlock stopped the\nmessage from even happening, but the end result was the same. The\ndifference now is that we get to the error message instead of it\nbeing choked.

\n

Reason for 3.2 and earlier: This is the shutdown sequence that\ndoesn't happen in 4.0 because of the multitasking.

{html}", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:14:40.000+0000", "updated": "2011-04-15T03:14:40.000+0000" }, { "id": "127933", "author": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [654075659f771536a034446317787d08bcd41928])\n[#2245 state:fixed-in-qa] Analytics now uses\nreachability directly, and forces synchronous ASI (as comments\nindicated it always should have). \nhttps://github.com/appcelerator/titanium_mobile/commit/654075659f77...

{html}", "updateAuthor": { "name": "jhaynie", "key": "jhaynie", "displayName": "Jeff Haynie", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:14:40.000+0000", "updated": "2011-04-15T03:14:40.000+0000" }, { "id": "127934", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Note that this update will involve a lot of \"Reachability\nchange\" spam whenever an analytics event is fired, this is not a\nregression (just a side-effect). Strongly recommending that we just\nadd Ti.Network 'change' listeners to watch reachability changes,\nand set reachability printing to 0 internally.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:14:41.000+0000", "updated": "2011-04-15T03:14:41.000+0000" }, { "id": "127935", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

iphone 3g 3.1.3, ipad 3.2 1.5.0.3ee6a97

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:14:41.000+0000", "updated": "2011-04-15T03:14:41.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }