{ "id": "61591", "key": "TIMOB-959", "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": [ { "id": "11224", "name": "Release 1.4.0", "archived": true, "released": true, "releaseDate": "2010-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:54:48.000+0000", "created": "2011-04-15T02:40:17.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "kroll", "primitive" ], "versions": [], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:54:48.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}

In Android, if we have a primitive array type (i.e. a double\narray) in a TiDict, when the value is retrieved back from JS, the\n\"fromNative\" logic misses it since it is a primitive array, (which\nisn't autoboxed).

{html}", "attachment": [], "flagged": false, "summary": "Primitive array types don't make it back to JS", "creator": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124465", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [62b9df4d7c273e5e167310d5a71a79ddb3ac8ee5])\nsupport primitive array types that make their way into the object\ngraph [#959 state:resolved] \nhttp://github.com/appcelerator/titanium_mobile/commit/62b9df4d7c273...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:40:18.000+0000", "updated": "2011-04-15T02:40:18.000+0000" }, { "id": "124466", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [a4639c2e31b2fa1f263f27053e909a858b01b41c])\nuse the Array class to abstract away primtive vs. Object array\ntypes [#959 state:resolved] \nhttp://github.com/appcelerator/titanium_mobile/commit/a4639c2e31b2f...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:40:18.000+0000", "updated": "2011-04-15T02:40:18.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }