GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-02T13:31:27.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | Android |
Labels | module_media, parity, qe-testadded |
Reporter | Dustin Hyde |
Assignee | Hieu Pham |
Created | 2011-12-20T17:52:58.000+0000 |
Updated | 2013-12-10T06:06:27.000+0000 |
Ti.Media.Android.scanMediaFiles in V8 results in type error of: 'Uncaught Error: Invalid value, expected type Array'.
Tested in V8/Rhino. Only found in V8.
Steps to Reproduce:
1. Run ScanTest (attached).
2. Press 'Do scan'.
Expected Result:
URL string should appear at the bottom of the screen.
Actual Result:
Runtime Error - 'Uncaught Error: Invalid value, expected type Array'
Log Attached.
The scope of this ticket will be increased to handle all Arrays type. It should not crash when null is passed into a function instead of an Array object.
When this is re-resolved, please resolve TIMOB-7330
Reopening for changes to resolve TIMOB-7330
Closing as Fixed. SDK: 1.8.1.v20120124200134 Studio: 1.0.8.201201210622 OS: Lion Devices Tested: Android Emulator 2.2, Droid3 2.3.4, Galaxy Nexus 4.0.2
Re-opening and closing to add label.
Opening and closing to add labels.
Opening and closing to change label.
Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/5021