{ "id": "63123", "key": "TIMOB-2491", "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": "11229", "name": "Release 1.5.0 M04", "archived": true, "released": true, "releaseDate": "2010-12-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:59:15.000+0000", "created": "2011-04-15T03:21:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "analytics", "ios", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:59:15.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}
seen using 1.5.0 faa27c7, ipod and ipad, sim or device
\n1.launch KS, connect to console
\n2.tap the home button to background the app and check for\noutput
results:
\nFri Dec 3 08:54:49 Mr-Pink-iPod\nUIKitApplication:com.appcelerator.KitchenSink[0xd50f][2572] :\n[ERROR] Will re-queue analytics
Fri Dec 3 08:54:49 Mr-Pink-iPod KitchenSink[2572] :\n[ERROR] A SQLite database error occurred on\ndatabase\n'/var/mobile/Applications/AB87BA17-8362-4618-A03B-821285153A24/Library/Application\nSupport/analytics/analytics.db': Error\nDomain=com.plausiblelabs.pldatabase Code=2 \"An error occurred\nexecuting an SQL update.\" UserInfo=0x4a4680\n{com.plausiblelabs.pldatabase.error.vendor.code=1,\nNSLocalizedDescription=An error occurred executing an SQL update.,\ncom.plausiblelabs.pldatabase.error.query.string=BEGIN DEFERRED,\ncom.plausiblelabs.pldatabase.error.vendor.string=cannot start a\ntransaction within a transaction} (SQLite #1: cannot start\na transaction within a transaction) (query: 'BEGIN DEFERRED')
\nFri Dec 3 08:54:49 Mr-Pink-iPod\nUIKitApplication:com.appcelerator.KitchenSink[0xd50f][2572] :\n[DEBUG] attempt to send analytics event but\nno network. will try again in 15 seconds
\nnot seen using 1.4.2
Probably expected behavior, as part of better error handling for\n1.5.0. But I'll add in an error logging flag for analytics so this\ncan be suppressed if wanted.
\nNote that analytics events are now requeued on SQL errors now as\nwell - previously they were just dropped.
(from [bdcec24a71089760ab74af83339aff6f8dad6e9f])\n[#2491 state:fixed-in-qa] Rollback analytics\ntransactions before re-queuing on network errors. \nhttps://github.com/appcelerator/titanium_mobile/commit/bdcec24a7108...
unable to repro using Titanium SDK version: 1.5.0 (12/04/10\n08:46 b7b9e78) and 4gt ipod touch running 4.2.1