[TIMOB-959] Primitive array types don't make it back to JS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:54:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.4.0 |
Components | Android |
Labels | android, defect, kroll, primitive |
Reporter | Marshall Culpepper |
Assignee | Marshall Culpepper |
Created | 2011-04-15T02:40:17.000+0000 |
Updated | 2011-04-17T01:54:48.000+0000 |
Description
In Android, if we have a primitive array type (i.e. a double array) in a TiDict, when the value is retrieved back from JS, the "fromNative" logic misses it since it is a primitive array, (which isn't autoboxed).
(from [62b9df4d7c273e5e167310d5a71a79ddb3ac8ee5]) support primitive array types that make their way into the object graph [#959 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/62b9df4d7c273e5e167310d5a71a79ddb3ac8ee5"> http://github.com/appcelerator/titanium_mobile/commit/62b9df4d7c273...
(from [a4639c2e31b2fa1f263f27053e909a858b01b41c]) use the Array class to abstract away primtive vs. Object array types [#959 state:resolved] http://github.com/appcelerator/titanium_mobile/commit/a4639c2e31b2fa1f263f27053e909a858b01b41c"> http://github.com/appcelerator/titanium_mobile/commit/a4639c2e31b2f...