Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3138] [android] Current database API loses precision on larger numbers

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T02:01:01.000+0000
Affected Version/sn/a
Fix Version/sSprint-2011-08
ComponentsAndroid
Labelsandroid, defect, precision, release-1.7.0
ReporterNathaniel McCallum
AssigneeDon Thorp
Created2011-04-15T03:37:49.000+0000
Updated2011-04-17T02:01:01.000+0000

Description

This is due to the way all fields are returned as strings. The fix is here: https://github.com/appcelerator/titanium_mobile/pull/69">https://github.com/appcelerator/titanium_mobile/pull/69

Comments

  1. Stephen Tramer 2011-04-15

    Assigning to Don for triage.

  2. Marshall Culpepper 2011-04-15

    (from [83f578a9d832ba57c2d57b3b4d0420bf8ce1eb23]) update's to npmccallum's db patch. only call "getString" if the type checking fails. print exceptions if any occur when trying to figure out the column type. added a drillbit
    test [#3138 state:fixed-in-qa]
    https://github.com/appcelerator/titanium_mobile/commit/83f578a9d832ba57c2d57b3b4d0420bf8ce1eb23"> https://github.com/appcelerator/titanium_mobile/commit/83f578a9d832...

  3. Natalie Huynh 2011-04-15

    Tested with Titanium SDK version: 1.7.0 (03/03/11 11:06 87a2113) on
    Emulator 2.1 Passed
    Emulator 2.2 Passed

JSON Source