{ "id": "63783", "key": "TIMOB-3151", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11247", "name": "Sprint 2011-12", "archived": true, "released": true, "releaseDate": "2011-03-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-16T11:02:45.000+0000", "created": "2011-04-15T03:38:06.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "feature", "release-1.7.0", "reported-1.2.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-16T11:02:45.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

See #364

{html}", "attachment": [], "flagged": false, "summary": "Android: Enable Transactions for Titanium.Database", "creator": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130161", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Android: testDatabaseRollback from Drillbit fails on Android\nonly

\n

Steps to Reproduce:
\n1. Run Drillbit and execute test Ti.Database tests
\n2. Select the test to be ran on iOS and Android

\n

Actual Result:
\nAll test pass on iOS
\nAndroid Emulator 2.1: fails: testDatabaseRollback false 136 should\nbe: \"0\", was: \"30\"

\n

Expected Result:
\nShould all Pass

\n

Tested with build: Titanium SDK version: 1.7.0 (03/17/11 10:02\n630a276)

{html}", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:38:07.000+0000", "updated": "2011-04-15T03:38:07.000+0000" }, { "id": "130162", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [eba7fd2e0ed9110d701123c5b2917c07bbf86165])\n[#3151 state:fixed-in-qa] The failure of the test\nwas caused by the use of the savepoint statement which is not\navailable on devices with API Level 8 (2.1) or lower. I modified\nthe test to check for a failure of savepoint and if it fails not\nexecute the rest of that test. I renamed the test\ntestDatabaseSavepointRollback and added a new simple transaction\ntest, testDatabaseRollback. \nhttps://github.com/appcelerator/titanium_mobile/commit/eba7fd2e0ed9...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:38:07.000+0000", "updated": "2011-04-15T03:38:07.000+0000" }, { "id": "132661", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.7.0 (9042d2d) on Emulator 2.1\ntestDatabaseRollback\ttrue\t145\tSuccess", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-22T13:47:18.000+0000", "updated": "2011-04-22T13:47:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }