Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9622] Android: V8 - Clicking a link in the rss xml test causes a runtime error

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-19T11:08:20.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0, Sprint 2012-13 API
ComponentsAndroid
Labelsapi, qe-and060112, regression
ReporterMichael Pettiford
AssigneeJosh Roesslein
Created2012-06-18T16:22:29.000+0000
Updated2012-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

Comments

  1. Josh Roesslein 2012-06-18

    Sent [PR #2425](https://github.com/appcelerator/titanium_mobile/pull/2425) to resolve issue.
  2. Michael Pettiford 2012-06-19

    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

JSON Source