{ "id": "92986", "key": "TIMOB-9461", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-01-14T15:27:44.000+0000", "created": "2012-06-08T04:35:07.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "qe-ios060112" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [ { "id": "24482", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "87800", "key": "TIMOB-7965", "fields": { "summary": "iOS: 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 } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-04-30T21:25:58.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": "Back button doesn't work after first navigation to second page.\r\nThis is not a regression. The issue occurs as far back as 1.8.2\r\n\r\nSteps to Reproduce:\r\n1. Create an application using the code below.\r\n2. launch the application.\r\n3. Press 'Goto Second Page'link. Should navigate to page 2.\r\n4. Press forward. Nothing should happen.\r\n5. Press back. Should go to page 1. \r\n\r\nActual:\r\nAfter navigation to second page, the back button does not work to bring back the first page.\r\n\r\nExpected:\r\nAfter navigation to second page, the back button should be able to take the user to the first page.\r\n\r\n{code}\r\n\r\nvar self = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'#FF0000',\r\n\t\ttitle: 'WebView Nav Test',\r\n\t\tbarColor: '#AAAAAA',\r\n\t\tmodal: true,\r\n\t\texitOnClose: true\r\n\t});\r\n\t\r\nself.webView = Ti.UI.createWebView({\r\n left: 5, \r\n top: 45, \r\n right: 5,\r\n bottom: 5,\r\n url : 'index.html'\r\n });\r\n \r\nself.add(self.webView);\r\n\r\nvar count = 0;\r\n\r\nself.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.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.add(self.forward);\r\n\tself.forward.addEventListener('click',function(e) {\r\n\t self.webView.goForward();\r\n\t});\r\n\r\nself.open();\r\n\r\n{code}", "attachment": [ { "id": "28243", "filename": "index.html", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T05:25:51.000+0000", "size": 3946, "mimeType": "text/html" }, { "id": "28244", "filename": "two.html", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-08T05:25:51.000+0000", "size": 3949, "mimeType": "text/html" } ], "flagged": false, "summary": "iOS: Titanium.UI.WebView - Back button doesn't work after first navigation to second page.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with SDK: 2.1.0.v20120607180246\r\nTested with Titanium Studio, build: 2.1.0.201206062004\r\nDevice: iPhone simulator, iPad2 (V5.1)\r\nOS: Mac OSX Version 10.7.3", "comment": { "comments": [ { "id": "303116", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "closing as a duplicate\r\ntested with:\r\nAppcelerator Studio, build: 3.2.3.201404181520\r\nTitanium SDK, build: 3.2.3.v20140422101718\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.14\r\n├── alloy@1.3.1\r\n├── npm@1.3.2\r\n├── titanium@3.2.3-rc\r\n└── titanium-code-processor@1.1.1-beta1\r\nDevice:\r\niPhone 5S iOS 7.1.1", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-30T21:25:54.000+0000", "updated": "2014-04-30T21:25:54.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }