[TIMOB-3138] [android] Current database API loses precision on larger numbers
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T02:01:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint-2011-08 |
Components | Android |
Labels | android, defect, precision, release-1.7.0 |
Reporter | Nathaniel McCallum |
Assignee | Don Thorp |
Created | 2011-04-15T03:37:49.000+0000 |
Updated | 2011-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
Assigning to Don for triage.
(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...
Tested with Titanium SDK version: 1.7.0 (03/03/11 11:06 87a2113) on
Emulator 2.1 Passed
Emulator 2.2 Passed