[TIMOB-9622] Android: V8 - Clicking a link in the rss xml test causes a runtime error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-06-19T11:08:20.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0, Sprint 2012-13 API |
Components | Android |
Labels | api, qe-and060112, regression |
Reporter | Michael Pettiford |
Assignee | Josh Roesslein |
Created | 2012-06-18T16:22:29.000+0000 |
Updated | 2012-06-19T18:08:10.000+0000 |
Description
*This is a regression, this works in 2.0.2GA*
Steps to reproduce:
1. In KitchenSink navigate to Platform > XML RSS
2. Click a link from the rss feed
Actual result:
A runtime error is generated with the error
06-18 16:20:56.016: E/TiJSError(3017): (main) [5136,35365] ----- Titanium Javascript Runtime Error -----
06-18 16:20:56.016: E/TiJSError(3017): (main) [0,35365] - In examples/xml_rss.js:64,43
06-18 16:20:56.016: E/TiJSError(3017): (main) [0,35365] - Message: Uncaught TypeError: Cannot read property 'url' of undefined
06-18 16:20:56.016: E/TiJSError(3017): (main) [0,35365] - Source: var wb = Ti.UI.createWebView({url:e.row.url});
06-18 16:20:56.047: E/V8Exception(3017): Exception occurred at examples/xml_rss.js:64: Uncaught TypeError: Cannot read property 'url' of undefined
Expected result:
The content of the link is loaded into a new webview
Sent [PR #2425](https://github.com/appcelerator/titanium_mobile/pull/2425) to resolve issue.
Closing issue Tested with Ti Studio build 2.1.0.201206172244 Ti Mobile SDK 2.1.0.v20120619142258 hash r5982b78e OSX Lion 10.7.3 Nexus S OS 4.0.4 The expected behavior is shown