[TIMOB-2141] Android: Ti.include with Array Is Broken
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:58:13.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.5.0 |
| Components | Android |
| Labels | android, android_refactor, defect, regression |
| Reporter | Don Thorp |
| Assignee | Marshall Culpepper |
| Created | 2011-04-15T03:11:43.000+0000 |
| Updated | 2011-04-17T01:58:13.000+0000 |
Description
Ti.include([myfile.js]);
Doesn't handle the array type.
10-20 23:42:04.380: ERROR/KrollContext(419): Caused by: java.io.FileNotFoundException: Resources/[Ljava.lang.Object;@45020db8
10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.openAsset(Native Method)
10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.open(AssetManager.java:313)
10-20 23:42:04.380: ERROR/KrollContext(419): at android.content.res.AssetManager.open(AssetManager.java:287)
10-20 23:42:04.380: ERROR/KrollContext(419): at org.appcelerator.titanium.io.TiResourceFile.getInputStream(TiResourceFile.java:78)
10-20 23:42:04.380: ERROR/KrollContext(419): at org.appcelerator.titanium.kroll.KrollContext.evaluateScript(KrollContext.java:191)
10-20 23:42:04.380: ERROR/KrollContext(419): ... 21 more
(from [617d9252488d3b32ba6c7f2eb155ff499738a9bb]) factored out common logic from the ProxyBinding template into a new KrollBindingUtils, added metadata about method arguments to KrollInvocation, fixed failing tests in the Platform>Properties KS test and made varargs detection smarter [#2141 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/617d9252488d3b32ba6c7f2eb155ff499738a9bb"> http://github.com/appcelerator/titanium_mobile/commit/617d9252488d3...
1.5.0.add5e1 G2 (2.2.) sim 1.6