{ "id": "63627", "key": "TIMOB-2995", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-26T13:23:39.000+0000", "created": "2011-04-15T03:34:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "ios", "reported-1.5.1" ], "versions": [], "issuelinks": [ { "id": "19335", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-26T21:33:35.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

I've found a bug with the webview module for titanium mobile. If\na website loaded through the url property contains an html link\nsuch as

\n
\n<a href=\"test.html\">Test Link</a>\n
\n

nothing happens when this link is clicked. If the link is\nchanged to container an absolute url, it works just fine:

\n
\n<a href=\"/test.html\">Test Link</a>\n
\n

OR

\n
\n<a href=\"http://www.somewebsite.com/test.html\">Test Link</a>\n
\n

If I load this html through the html property it clicks just\nfine.

{html}", "attachment": [], "flagged": false, "summary": "webview link doesn't click", "creator": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129820", "author": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Anybody able to confirm this?

{html}", "updateAuthor": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:21.000+0000", "updated": "2011-04-15T03:34:21.000+0000" }, { "id": "129821", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I doubt it, Andrew, until you can provide a way for someone to\nreproduce the behavior. Do you know a webpage that can be tested\nagainst?

\n

Furthermore, you have not stated your mobile platform &\nversion or Titanium version, rendering your observations\nmeaningless.

\n

You really should not raise a ticket until you have read the\nContribute to\nTitanium guide, or it, and tickets like it, risk hindering\nrather than helping the development process.

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:22.000+0000", "updated": "2011-04-15T03:34:22.000+0000" }, { "id": "129822", "author": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Thanks hal for pointing me in the right direction. Been working\nin titanium for over a year, never seen that link :) ...or\nsubmitted a bug for that matter. I'll read through this and get the\nright info.

{html}", "updateAuthor": { "name": "andrewscofield", "key": "andrewscofield", "displayName": "Andrew Scofield", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:22.000+0000", "updated": "2011-04-15T03:34:22.000+0000" }, { "id": "129823", "author": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

OP \nconfirms issue occurs on iphone simulator and iOS device both\nrunning iOS 4.2, with Titanium 1.5.1

\n

The behavior does not exist on Android (although, the versions\nused to test were not provided).

\n

User has provided a web page and code to reproduce the\nissue:

\n
\nvar webview = Ti.UI.createWebView();\n \nwebview.setBasicAuthentication('titanium', 'testpass');\nwebview.url = 'http://andrewscofield.com/titanium_auth/'; \n \n// comment out above two lines and uncomment below to test same html without basic auth.\n//webview.url = 'http://andrewscofield.com/titanium/'; \n \nvar w = Ti.UI.createWindow();\nw.add(webview);\nw.open();\n
\n

Note, this issue is related (but not identical) to ticket\n#1603.

{html}", "updateAuthor": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:34:22.000+0000", "updated": "2011-04-15T03:34:22.000+0000" }, { "id": "156903", "author": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I tested this and can confirm the issue still exists in 1.7 and 1.8/master\r\n\r\nAs a note, if you click a link that works in the example, then go back, the link that did not work before (formated like Test Link) then works for some reason", "updateAuthor": { "name": "mapperson", "key": "mapperson", "displayName": "Matthew Apperson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-06-16T07:33:58.000+0000", "updated": "2011-06-16T07:33:58.000+0000" }, { "id": "209724", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce described issue in SDK 2.2.0.014b86f", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T13:23:39.000+0000", "updated": "2012-07-26T13:23:39.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }