{ "id": "88238", "key": "TIMOB-8102", "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": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13207", "name": "Sprint 2012-07", "archived": true, "released": true, "releaseDate": "2012-04-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-04-04T15:28:35.000+0000", "created": "2012-03-20T09:26:29.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_webview", "qe-testadded", "regression" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "srahim", "key": "srahim", "displayName": "Sabil Rahim", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-25T08:51:18.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": "*Code*\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar webView = Ti.UI.createWebView({ \r\n\twidth: '100%', \r\n\theight: '100%'\r\n});\r\n\r\nwin.add(webView); \r\nwebView.url = 'http:// google.com'; // if you remove the space, it works fine in 1.8.2\r\n\r\nwin.open();\r\n{code}\r\n\r\n*Expected behavior*\r\nThe app should run without crashing, just like it does when using the same code and building with version 1.7.5.\r\n\r\n*Actual behavior*\r\nThe app crashes at runtime.\r\n\r\n*Notes*\r\n-I have only tested this on the iOS simulator.\r\n-It works fine when you enter a correct URL (i.e. without any spaces), however in 1.7.5 you could have a space and it wouldn't crash.\r\n-Current workaround: http://pastebin.com/jPkDBK5u\r\n-HD ticket: http://support-admin.appcelerator.com/display/APP-584755", "attachment": [], "flagged": false, "summary": "iOS: Ti.UI.WebView crashes when a malformed URL has been entered", "creator": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jyounus", "key": "jyounus", "displayName": "Junaid Younus", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK version: 1.8.2\r\nDevice Details: iOS Simulator 5.0.1\r\nHost Operating System: OSX 10.7.2\r\nTitanium Studio version: 1.0.9.201202141208", "comment": { "comments": [ { "id": "188666", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolved by PR 1840", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-03-26T13:39:05.000+0000", "updated": "2012-03-26T13:39:05.000+0000" }, { "id": "188834", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing issue\r\n\r\nTested with Ti Studio build 2.0.0.201203262445\r\nTi Mobile SDK 2.0.0.v20120326211803 hash r2730634f\r\nOSX Lion 10.7.3\r\niPhone 4S OS 5.0.1\r\n\r\nApp doesn't crash with a malformed url and works correctly with a valid url", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-27T09:51:49.000+0000", "updated": "2012-03-27T09:51:49.000+0000" }, { "id": "188837", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening/closing to add labels", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-27T09:55:07.000+0000", "updated": "2012-03-27T09:55:07.000+0000" }, { "id": "189888", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Opening to edit labels.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T15:28:20.000+0000", "updated": "2012-04-04T15:28:20.000+0000" }, { "id": "281119", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Anvil test case added.\nPR link:\nhttps://github.com/appcelerator/titanium_mobile/pull/5020", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T08:51:18.000+0000", "updated": "2013-11-25T08:51:18.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }