{ "id": "87800", "key": "TIMOB-7965", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14803", "description": "2013 Sprint 01 Core", "name": "2013 Sprint 01 Core", "archived": true, "released": true, "releaseDate": "2013-01-14" }, { "id": "14804", "description": "2013 Sprint 01", "name": "2013 Sprint 01", "archived": true, "released": true, "releaseDate": "2013-01-14" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-24T06:09:12.000+0000", "created": "2012-03-12T17:56:57.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "module_webview", "notable", "qe-testadded", "regression" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "15750", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "87926", "key": "TIMOB-7991", "fields": { "summary": "Android: canGoBack/canGoForward does not work for local files", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "16111", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "88522", "key": "TIMOB-8204", "fields": { "summary": "iOS: Button: Back on local link does not work", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24482", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "92986", "key": "TIMOB-9461", "fields": { "summary": "iOS: Titanium.UI.WebView - Back button doesn't work after first navigation to second page.", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24483", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "106119", "key": "TIMOB-11983", "fields": { "summary": "iOS: window.history.back() is not working on webViews", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24625", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "108032", "key": "TIMOB-12315", "fields": { "summary": "Backport TIMOB-7965 to 3.0.1", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "15822", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88168", "key": "TIMOB-8083", "fields": { "summary": "iOS: JavaScript - JavaScript inside HTML not being evaluated so an image of Apple logo and label \"Click me...\" are not visible", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15823", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88173", "key": "TIMOB-8086", "fields": { "summary": "iOS: Inline HTML - No text is presented on the page", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "15824", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "88187", "key": "TIMOB-8090", "fields": { "summary": "iOS: WebView - There is no webview displayed on the page ", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24517", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "94520", "key": "TIMOB-10357", "fields": { "summary": "iOS: issue loading 'js' files using a javascript loader from a webView", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "24518", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103638", "key": "TIMOB-11536", "fields": { "summary": "iOS: Web views - Missing the label to hide the toolbar.", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "26690", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "110964", "key": "TIMOB-13045", "fields": { "summary": "iOS: WebView does not load local html files without \".html\" file extension", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "26746", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "110351", "key": "TIMOB-13145", "fields": { "summary": "iOS: Setting WebView HTML contents directly fails to load local JavaScript file on device", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-15T18:28:49.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": "1. Open and compile the attached project\r\n2. The first web view should come up and then the alert should have values false/false as there is no history.\r\n3. Click on the link in the view to go to the second Web View.\r\nEXPECTED RESULT: Alert should come up with values true/false as there IS an historical URL to go back to.\r\nACTUAL RESULT: Alert comes up with false/false. In different combinations it is clear the canGoBack() and canGoForward() are not working for local files.\r\n\r\nNOTE: Also affects Android\r\nNOTE: Mobile Web does not respond to the load event at all.", "attachment": [ { "id": "26146", "filename": "Screen Shot 2012-03-12 at 6.51.28 PM.png", "author": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-12T18:01:34.000+0000", "size": 186648, "mimeType": "image/png" }, { "id": "26147", "filename": "Screen Shot 2012-03-12 at 6.51.36 PM.png", "author": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-12T18:01:34.000+0000", "size": 186772, "mimeType": "image/png" }, { "id": "26255", "filename": "TIMOB-7965.zip", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T12:56:54.000+0000", "size": 3656577, "mimeType": "application/zip" }, { "id": "26145", "filename": "TIMOB-7965.zip", "author": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-12T17:57:33.000+0000", "size": 2326691, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: canGoBack/canGoForward does not work for local files", "creator": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "186348", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Updated FirstView.js with Back/Forward buttons.\r\n\r\n{code:javascript}\r\nfunction view() {\r\n\treturn this.webView;\r\n}\r\n\r\n// FirstView Component Constructor\r\nfunction FirstView(parent) {\r\n\t//create object instance, a parasitic subclass of Observable\r\n\tvar self = this;\r\n\tself.parent = parent;\r\n\t\r\n\tself.webView = Ti.UI.createWebView({\r\n left: 5, \r\n top: 45, \r\n right: 5,\r\n bottom: 5,\r\n url : '/HTML/index.html'\r\n });\r\n self.parent.add(self.webView);\r\n\r\n\tvar count = 0;\r\n self.webView.addEventListener('load', function (e) {\r\n alert('goback: ' + self.webView.canGoBack() + ' gofwd: ' + self.webView.canGoForward());\r\n });\r\n\r\n\tself.back = Ti.UI.createButton({\r\n left: 5, \r\n top: 5, \r\n width: 100,\r\n height: 30,\r\n\t\ttitle: 'Back' \r\n\t});\r\n\tself.parent.add(self.back);\r\n\tself.back.addEventListener('click',function(e) {\r\n\t self.webView.goBack();\r\n\t});\r\n\t\r\n\tself.forward = Ti.UI.createButton({\r\n top: 5, \r\n right: 5,\r\n\t\twidth: 100,\r\n height: 30,\r\n\t\ttitle: 'Forward' \r\n\t});\r\n\tself.parent.add(self.forward);\r\n\tself.forward.addEventListener('click',function(e) {\r\n\t self.webView.goForward();\r\n\t});\r\n \r\n\treturn self;\r\n}\r\n\r\nFirstView.prototype.view = view;\r\nmodule.exports = FirstView;\r\n{code}", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-13T16:35:20.000+0000", "updated": "2012-03-13T16:35:20.000+0000" }, { "id": "186669", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as Fixed.\r\n\r\nSDK: 2.0.0.v20120315091738\r\nStudio: 2.0.0.201203142055\r\nOS: Snow Leopard\r\nDevices Tested: iPod 4.3.3, iPhone Simulator 5.0, iPhone4 5.0.1, iPad2 5.1\r\n\r\nCorrect Behavior: Back loads any previous pages, stopping if there are none. Forward loads any pages that were navigated back from using the back button, stopping if there are no further pages. The alert dialogs accurately reflect the state of the webview history.\r\n\r\nAttaching new test project TIMOB-7965.zip.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T13:26:56.000+0000", "updated": "2012-03-15T13:26:56.000+0000" }, { "id": "186670", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-7991 uses this same test case. It is marked as qe-testadded. When porting test case TIMOB-7965, mention TIMOB-7991 as a concurrent test.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T13:30:29.000+0000", "updated": "2012-03-15T13:30:29.000+0000" }, { "id": "189895", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Bug behavior now occurs.\r\n\r\nPage history is lost.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Click 'go to page 2'.\r\n2. Click back.\r\n\r\nExpected Result:\r\n\r\nShould go back to page 1.\r\n\r\nActual Result:\r\n\r\nPage 2 remains.\r\n\r\nSDK: 2.0.0.GA, 2.1.0.v20120404140322\r\nStudio: 2.0.0.201203291340\r\nOS: Snow Leopard\r\nDevices Tested: iPhone Simulator 5.0", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-04T16:12:11.000+0000", "updated": "2012-04-04T16:12:11.000+0000" }, { "id": "234110", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3701", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-12T17:05:16.000+0000", "updated": "2013-01-12T17:05:16.000+0000" }, { "id": "234264", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "KS Webview fails to load local image", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-14T15:53:42.000+0000", "updated": "2013-01-14T15:53:42.000+0000" }, { "id": "234381", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Fixed by PR https://github.com/appcelerator/titanium_mobile/pull/3701 against master", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-15T10:21:57.000+0000", "updated": "2013-01-15T10:21:57.000+0000" }, { "id": "235247", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Backport Task TIMOB-12315\nBackport PR https://github.com/appcelerator/titanium_mobile/pull/3750", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-01-21T20:51:03.000+0000", "updated": "2013-01-21T20:51:03.000+0000" }, { "id": "235461", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "canGoBack/canGoForward works as expected in step 3.\r\n\r\nVerified on:\r\nSDK version: 3.1.0.v20130111163212,3.0.2.v20130122172624\r\nCLI version : 3.0.23\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-23T09:25:13.000+0000", "updated": "2013-01-23T09:25:13.000+0000" }, { "id": "235687", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update labels", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-24T06:08:29.000+0000", "updated": "2013-01-24T06:08:29.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }