{ "id": "79750", "key": "TIMOB-5142", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-05-16T19:34:27.000+0000", "created": "2011-08-29T07:19:57.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "json", "json.stringify" ], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T23:28:17.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": "h5.Problem\r\nJSON encode objects which looks like a logarithmic expression e.g. example: {\"value\":1.309990454089E12}\r\n\r\nh5.Tested on\r\nAndroid HVGA Emulator\r\n\r\nh5.Repro sequence\r\n{noformat}\r\nvar value=1309990454089;\r\nTi.API.info('Android JSON encode example: '+JSON.stringify(value) );\r\n{noformat}\r\n\r\nh5.Console Output\r\n{noformat}\r\nI/TiAPI ( 381): (kroll$1: app://app.js) [52,469] Android JSON encode example: 2147483647\r\n{noformat}\r\n\r\nh5.Repro sequence\r\n{noformat}\r\nvar obj={};\r\nobj.value=1309990454089;\r\nTi.API.info('Android JSON encode example: '+ JSON.stringify(obj) );\r\n{noformat}\r\n\r\nh5.Console Output \r\n{noformat}\r\nI/TiAPI ( 245): (kroll$1: app://app.js) [3,957] Android JSON encode example: {\"value\":1.309990454089E12}\r\n{noformat}\r\n\r\nh5.Associated HD ticket\r\n#APP-721536", "attachment": [], "flagged": false, "summary": "Android: JSON.stringify misbehaviors on Android <2.2", "creator": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Product: Mobile\r\nTitanium SDK: Mobile 1.6.2, 1.7.2, 1.8.x\r\nPlatform OS: Android\r\nPlatform OS Version: <2.2", "comment": { "comments": [ { "id": "195052", "author": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Don't support < android 2.2", "updateAuthor": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T14:41:37.000+0000", "updated": "2012-05-16T14:41:37.000+0000" }, { "id": "195061", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Nikhil Check out first each Titanium Mobile SDK that supports a specific range of Android versions.\r\n\r\nThis jira ticket filed Titanium SDK: 1.6.X which is enabled for Min Android/SDK Version: 1.6 (API 4).\r\n\r\nFurther info: [https://wiki.appcelerator.org/display/guides/Titanium+Compatibility+Matrix#TitaniumCompatibilityMatrix-AndroidSDK%2FTargetAndroidPlatform]\r\n\r\nYou may want to verify if this is not longer an issue for our customer instead.", "updateAuthor": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T14:52:29.000+0000", "updated": "2012-05-16T14:52:29.000+0000" }, { "id": "195127", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking this ticket invalid as we don't support Android SDK < 2.2 version anymore.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-16T19:34:27.000+0000", "updated": "2012-05-16T19:34:27.000+0000" }, { "id": "411027", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T23:28:17.000+0000", "updated": "2017-03-09T23:28:17.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }