{ "id": "87926", "key": "TIMOB-7991", "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": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-15T06:05:05.000+0000", "created": "2012-03-14T10:22:20.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "module_webview", "qe-testadded" ], "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" }, "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 } } } }, { "id": "15775", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "87989", "key": "TIMOB-8028", "fields": { "summary": "Android: webview goBack and goForward do not correctly load local files from history", "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": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "updated": "2012-03-15T13:28:12.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": "10202", "name": "Android", "description": "Android 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": "26202", "filename": "Screen Shot 2012-03-12 at 6.51.28 PM.png", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T10:22:20.000+0000", "size": 186648, "mimeType": "image/png" }, { "id": "26203", "filename": "Screen Shot 2012-03-12 at 6.51.36 PM.png", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T10:22:20.000+0000", "size": 186772, "mimeType": "image/png" }, { "id": "26204", "filename": "TIMOB-7965.zip", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-14T10:22:20.000+0000", "size": 2326691, "mimeType": "application/zip" }, { "id": "26242", "filename": "TIMOB-7991.zip", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T10:36:43.000+0000", "size": 3682164, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: 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": "186569", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Testing against master on Droid 2 (2.2) shows the correct behavior in terms of alert dialog values. IE: Open app -> open second page -> open first page. This sequence results in the alert dialog of \"true / false\" in the last two cases which is expected. \r\n\r\nIf I use a modified test case which allow for going back (in order to see the \"can go forward\" result) then I am able to see \"true / true\" alert dialog when using the following sequence: \"Goto Second Page -> Goto First Page -> -> \r\n\r\nAnother issue is noticed is that the page content does not actually display when going forward or back via buttons. New issue timob-8028 created to cover this issue and PR is being submitted shortly with fix.\r\n\r\nIf issue still exists when built against master, can we please have any logcat data, device id and OS version provided as a update to this ticket? This ticket will be resolved when 8028 is resolved through PR process.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-14T22:16:38.000+0000", "updated": "2012-03-14T22:43:27.000+0000" }, { "id": "186584", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Resolving based on successful results testing TIMOB-8028. As Opie indicates, the true/false is correct in this item's test since goBack is **not** used to go back to the first page (therefore canGoForward does not come into play.)\r\n\r\nIndeed, even if goBack was used, there would be failure (as he also points out) since the page wouldn't load properly. He fixed that via TIMOB-8028. So the test cases in both of these tickets work fine now.", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-03-15T06:05:05.000+0000", "updated": "2012-03-15T06:05:05.000+0000" }, { "id": "186636", "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\nAndroid: V8, Rhino\r\nStudio: 2.0.0.201203142055\r\nOS: Snow Leopard\r\nDevices Tested: Droid3 2.3.4, GSlate 3.1, Emulator 4.0.3\r\n\r\nBug Behavior: Back and forward load a blank page. See note below.\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-7991.zip.\r\n\r\nNote: This issue as-created is technically non-reproducible because the bad behavior originally indicated never existed. Any related issues have been addressed in TIMOB-8028.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-15T10:48:57.000+0000", "updated": "2012-03-15T10:48:57.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }