Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3151] Android: Enable Transactions for Titanium.Database

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-05-16T11:02:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.0, Sprint 2011-12
ComponentsAndroid
Labelsandroid, feature, release-1.7.0, reported-1.2.0
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T03:38:06.000+0000
Updated2011-05-16T11:02:45.000+0000

Description

See #364

Comments

  1. Natalie Huynh 2011-04-15

    Android: testDatabaseRollback from Drillbit fails on Android only

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

    Actual Result:
    All test pass on iOS
    Android Emulator 2.1: fails: testDatabaseRollback false 136 should be: "0", was: "30"

    Expected Result:
    Should all Pass

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

  2. Don Thorp 2011-04-15

    (from [eba7fd2e0ed9110d701123c5b2917c07bbf86165]) [#3151 state:fixed-in-qa] The failure of the test was caused by the use of the savepoint statement which is not available on devices with API Level 8 (2.1) or lower. I modified the test to check for a failure of savepoint and if it fails not execute the rest of that test. I renamed the test testDatabaseSavepointRollback and added a new simple transaction test, testDatabaseRollback. https://github.com/appcelerator/titanium_mobile/commit/eba7fd2e0ed9110d701123c5b2917c07bbf86165"> https://github.com/appcelerator/titanium_mobile/commit/eba7fd2e0ed9...

  3. Natalie Huynh 2011-04-22

    Tested with 1.7.0 (9042d2d) on Emulator 2.1 testDatabaseRollback true 145 Success

JSON Source