{ "id": "87202", "key": "TIMOB-7855", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-11-09T05:57:16.000+0000", "created": "2012-02-29T18:27:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "parity" ], "versions": [ { "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": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-11-23T18:48:36.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": [], "description": "1. Unpack the attached application and run it on Android. Note that as you rotate the view, the Ti.Gesture.landscape and Ti.Gesture.portrait properties change.\r\n2. Run the same application on iOS. \r\nEXPECTED RESULT: same values for landscape and portrait as Android.\r\nACTUAL RESULT: both values are \"undefined\" no matter the device orientation.\r\n\r\nNB: if this was previously working in prior versions this could break existing applications if they are recompiled with 1.8.2.", "attachment": [ { "id": "25975", "filename": "TIMOB-7855.zip", "author": { "name": "corthlieb", "key": "corthlieb", "displayName": "Carl Orthlieb", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-02-29T18:28:19.000+0000", "size": 2322816, "mimeType": "application/zip" } ], "flagged": false, "summary": "iOS: Ti.Gesture.landscape and Ti.Gesture.portrait are undefined", "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, "closedSprints": [ { "id": 752, "state": "closed", "name": "2016 Sprint 23 SDK", "startDate": "2016-11-05T00:39:37.027Z", "endDate": "2016-11-19T01:39:00.000Z", "completeDate": "2016-11-29T06:51:57.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "400246", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8575\r\nUnit-Test: https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/10", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-02T12:07:03.000+0000", "updated": "2016-11-02T12:16:19.000+0000" }, { "id": "401766", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified Fixed, was able to view the changes to {{Ti.Gesture.landscape}} and {{Ti.Gesture.portrait}} and IOS no longer stated \"undefined\" when the device was rotated; tested on both a Android and IOS Device. \r\n*Environement* \r\n{code:java}\r\nAppcelerator Command-Line Interface, version 6.0.0\r\nIphone 6+ (Version 9.3.4)\r\nAndroid 7.0 (Google Nexus 6P)\r\nOperating System Name: Mac OS X El Capitan\r\nOperating System Version: 10.11.6\r\nNode.js Version: 4.6.0\r\nnpm: 4.2.8\r\nTitanium CLI Version: 5.0.10\r\nTitanium SDK Version: 6.1.0.v20161123033537\r\nXcode: 8.0\r\nAppcelerator Studio: 4.8.0.201611121409\r\n{code}\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-11-23T18:48:01.000+0000", "updated": "2016-11-23T18:48:01.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }