{ "id": "114544", "key": "TIMOB-13902", "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": "15116", "description": "2013 Sprint 11 BB", "name": "2013 Sprint 11 BB", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15109", "description": "2013 Sprint 11", "name": "2013 Sprint 11", "archived": true, "released": true, "releaseDate": "2013-06-03" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-28T00:12:57.000+0000", "created": "2013-05-17T18:05:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_webview", "qe-3.3.0", "qe-testadded", "sdk-bb" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T07:58:51.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1. Create an app with a webview which implements methods like reload, goback, go forward etc\r\n2. Build & run the app for BB simulator or device\r\n3. After the app launch do a reload, goback , go forward etc.\r\n\r\nActual results:\r\n1. These methods do not work in BB , they work fine in android & IOS.\r\n\r\nExpected Results:\r\n1. These methods should work in parity with other platforms", "attachment": [], "flagged": false, "summary": "BlackBerry : The webview methods like reload, goback, go forward etc do not work", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130514180723\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "comment": { "comments": [ { "id": "252855", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/42\r\n\r\nAdded missing methods\r\n\r\nh3. Code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n backgroundColor:'#000'\r\n});\r\n\r\nvar toolbar = Ti.UI.createView({\r\n\tbottom: 0,\r\n\theight: 35,\r\n\tbackgroundColor: '#ccc'\r\n});\r\n\r\nvar back = Ti.UI.createButton({\r\n\tleft: 0,\r\n\twidth: 50,\r\n\ttitle: 'back'\r\n});\r\n\r\nvar reload = Ti.UI.createButton({\r\n\twidth: 50,\r\n\ttitle: 'reload'\r\n});\r\n\r\nvar fwd = Ti.UI.createButton({\r\n\tright: 0,\r\n\twidth: 50,\r\n\ttitle:'fwd'\r\n})\r\n\r\ntoolbar.add(back);\r\ntoolbar.add(reload);\r\ntoolbar.add(fwd);\r\n\r\nvar webview = Ti.UI.createWebView({\r\n\turl: 'http://javascript.crockford.com',\r\n\tbottom: 35\r\n});\r\n\r\nback.addEventListener('click', function(){\r\n\tif(webview.canGoBack()) {\r\n\t\twebview.goBack();\r\n\t}\r\n});\r\n\r\nreload.addEventListener('click', function(){\r\n\twebview.reload();\r\n});\r\n\r\nfwd.addEventListener('click', function(){\r\n\tif(webview.canGoForward()) {\r\n\t\twebview.goForward();\r\n\t}\r\n});\r\n\r\nwin.add(webview);\r\nwin.add(toolbar);\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-20T18:38:52.000+0000", "updated": "2013-05-20T18:38:52.000+0000" }, { "id": "253433", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the webview methods reload,goback,goforward work as expected.\r\nThus closing the ticket.\r\n\r\nEnvironment:\r\nTi Studio : 3.1.1.201305150313\r\nTi BB SDK : 3.1.1.v20130521153706\r\nMac OSX : 10.8.2\r\nwin 7 \r\nWin 8 \r\nZ10 BB simulator : 10.0.10.822\r\nZ10 device running 10.0.10.88\r\n\r\nQ10 Simulator : 10.1.0.1720\r\nQ10 Dev alpha C device running 10.1.0.138", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-05-22T17:32:42.000+0000", "updated": "2013-05-22T17:32:42.000+0000" }, { "id": "306563", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Back and forward are not working.\r\nTested with:\r\nMac osx 10.9.3 Mavericks\r\nAppcelerator Studio, build: 3.3.0.201405211748\r\nTitanium SDK, build: 3.3.0.v20140524224144 \r\nNode.JS Version: v0.10.13 \r\nNPM Version: 1.3.2 \r\nacs@1.0.14 \r\nalloy@1.4.0-beta \r\nnpm@1.3.2 \r\ntitanium@3.3.0-beta \r\ntitanium-code-processor@1.1.1\r\nDevice: BB Z10 (10.2.1)", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-27T23:49:06.000+0000", "updated": "2014-05-27T23:49:06.000+0000" }, { "id": "306566", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/250", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-28T00:12:39.000+0000", "updated": "2014-05-28T00:12:39.000+0000" }, { "id": "410261", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T07:58:51.000+0000", "updated": "2017-03-09T07:58:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }