{ "id": "102779", "key": "TIMOB-11284", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-11-02T12:32:01.000+0000", "created": "2012-10-05T23:30:12.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "parity", "qe-ios100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "21785", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "100905", "key": "TIMOB-10863", "fields": { "summary": "Android: Application restarts when orientation changes and targetSdkVersion is 13 or higher", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-24T18:00:05.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": "An application error while testing orientation on iOS devices. \r\n*It works on Android/Nexus7 4.1.1*\r\nTest steps:\r\n1) Replace the app.js with this code:\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n title:'Root Window',\r\n backgroundColor:'#fff',\r\n exitOnClose: true\r\n}),\r\nbtn = Ti.UI.createButton({\r\n title: \"Open Heavyweight Window\",\r\n left: \"16dp\", right: \"16dp\", height: \"48dp\",\r\n bottom: \"16dp\"\r\n});\r\n \r\nwin.add(Ti.UI.createLabel({\r\n text: \"This is the root window\",\r\n color: \"#000\",\r\n height: \"48dp\"\r\n}));\r\n \r\nwin.add(btn);\r\n \r\nbtn.on(\"click\", function() {\r\n var w = Ti.UI.createWindow({\r\n backgroundColor: \"#f00\",\r\n title: \"New Activity\",\r\n fullscreen: false\r\n });\r\n w.add(Ti.UI.createLabel({\r\n text: \"This is a new Activity\",\r\n height: \"48dp\",\r\n color: \"#fff\"\r\n }));\r\n w.open();\r\n});\r\n \r\nwin.open();\r\n{code}\r\nExpected result:\r\nThe window with \"Open Heavyweight Window\" button should open.\r\n\r\nActual result:\r\nSee an attachment.\r\n", "attachment": [ { "id": "32355", "filename": "parity.png", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-06T00:02:40.000+0000", "size": 82435, "mimeType": "image/png" }, { "id": "36563", "filename": "Screenshot_2013-03-22-16-11-29.png", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T11:25:35.000+0000", "size": 24493, "mimeType": "image/png" }, { "id": "36564", "filename": "Screenshot_2013-03-22-16-11-36.png", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T11:25:35.000+0000", "size": 20763, "mimeType": "image/png" } ], "flagged": false, "summary": " iOS: Orientation - An 'undefined' exception during an application launch on iOS", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested on:\r\nTitanium Studio, build: 2.1.2.201208301612\r\nTitanium Studio, SDK: 3.0.0.v20121005014113\r\niPhone 4 ios 5.1.1\r\niPhone 5 ios 6.0\r\niPad 3 ios 5.1.1", "comment": { "comments": [ { "id": "243665", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "it works fine on android but doesn't works in iOS\n\nIssue reproduces\n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\niOS iPhone Simulator: iOS SDK version: 6.0\nDevice: Samsung galaxy s duos Android version: 4.0.4\njithinpv", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-22T11:25:00.000+0000", "updated": "2013-03-22T11:25:00.000+0000" }, { "id": "400252", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "You should use \"addEventListener\" instead of \"on\" for cross-platform event handling.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-02T12:32:01.000+0000", "updated": "2016-11-02T12:32:01.000+0000" }, { "id": "415606", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:00:05.000+0000", "updated": "2017-03-24T18:00:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }