{ "id": "102022", "key": "TIMOB-11151", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-23T20:12:03.000+0000", "created": "2012-09-25T23:11:37.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios090112", "qe-ios6", "qe-nfc" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [ { "id": "21696", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "102507", "key": "TIMOB-11228", "fields": { "summary": "TiAPI: Rewrite Ti.UI.Window", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-23T20:12:03.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": "Steps to reproduce:\r\nRun the following code:\r\n{code}\r\nTi.UI.backgroundColor = 'white';\r\nvar win = Ti.UI.createWindow();\r\nvar button = Ti.UI.createButton({\r\n\ttitle:'Push'\r\n});\r\n\r\nbutton.addEventListener('click', function(e)\r\n{\r\n\tvar winTest = Ti.UI.createWindow({\r\n\t\tbackgroundColor:'red',\r\n\t\torientationModes: [Titanium.UI.UPSIDE_PORTRAIT],\r\n\t\tmodal:true\r\n\t});\r\n\t\r\n\tvar label = Ti.UI.createLabel({\r\n\t\ttext:'hello'\r\n\t})\r\n\t\r\n\twinTest.add(label);\r\n\t\r\n\twinTest.open();\r\n});\r\n\r\nwin.add(button);\r\nwin.open();\r\n\r\n{code}\r\n2. Click on any of the row\r\n\r\nExpected:\r\nOpen a red window with text hello\r\n\r\nActual:\r\nCrash with following log:\r\nSep 25 16:02:11 Titan WindowModule[2716] : *** Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES'", "attachment": [], "flagged": false, "summary": "iOS 6 Only: Window - opening a modal window with UPSIDE_PORTRAIT orientation only crashes", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 6 on iPhone 5/4", "comment": { "comments": [ { "id": "221149", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As of right now we can not support the upside down portrait mode on the iPhone idiom for modal windows for IOS6. Might be able to fix it in the future. Should be added to release notes.", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:19:59.000+0000", "updated": "2012-09-26T23:19:59.000+0000" }, { "id": "221215", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This issue also affects any views present on the modal window.\r\nReferring to TIMOB-7028 any views on the modal window do not change to upside_portrait orientation because of the modal window itself.\r\n \r\nTested on:\r\nTitanium studio : 2.1.2.201208301612\r\nSDK version : 2.1.3.v20120926141610\r\nIphone 5 iOS 6", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T17:28:11.000+0000", "updated": "2012-09-27T22:28:29.000+0000" }, { "id": "422670", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170620103414\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131\r\n\r\nThe app works as expected.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-23T20:12:03.000+0000", "updated": "2017-06-23T20:12:03.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }