{ "id": "101825", "key": "TIMOB-11071", "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": "14158", "description": "Sprint 2012-20 Core", "name": "Sprint 2012-20 Core", "archived": true, "released": true, "releaseDate": "2012-10-08" }, { "id": "14272", "description": "2012 Sprint 20", "name": "2012 Sprint 20", "archived": true, "released": true, "releaseDate": "2012-10-08" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-09-25T18:36:02.000+0000", "created": "2012-09-24T09:12:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "core", "qe-ios090112", "regression" ], "versions": [ { "id": "14137", "description": "Release 2.1.3", "name": "Release 2.1.3", "archived": true, "released": true, "releaseDate": "2012-10-03" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-03-13T18:55:17.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": "If a tabgroup is created and opened within a window, app crashes.\r\nThis is regression since the issue does not occur in 2.1.3.v20120920154617.\r\n\r\nSteps to reproduce:\r\n1. Create an app using the code below.\r\n2. Launch the app.\r\n\r\nActual:\r\nApp crashes and gets closed. See logs.\r\n\r\nExpected:\r\nApplication should open normally.\r\n\r\n{code}\r\n\r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff'\r\n});\t\r\nfunction createCustomTab(id){\r\nvar tab = Ti.UI.createTab({\r\n});\r\n\t\t\r\nreturn tab;\r\n}\t\t\r\nvar tabs = Ti.UI.createTabGroup();\r\ntabs.addTab(createCustomTab(1));\r\ntabs.addTab(createCustomTab(2));\r\ntabs.open();\r\nwin1.add(tabs);\r\n\t\t\t\r\n\t\t\t\r\nwin1.open();\r\n\t\r\n{code}\r\n\r\n", "attachment": [ { "id": "31728", "filename": "tabcrash.crash", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-24T09:12:05.000+0000", "size": 96994, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "iOS: TabGroup - If a tabgroup is created and opened within a window, app crashes.", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 2.1.3.v20120921141611\r\nStudio:2.1.2.201208301612\r\nDevices: iPad2(v 5.1), iPad3(v6.0)\r\nOS: OSX 10.8.1", "comment": { "comments": [ { "id": "220371", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Tabgroups are top level containers and are not supposed to be added to anything.\r\nSecondly the code is calling tabs.open and win.open which is what is causing the crash.\r\n\r\n", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-09-24T17:03:18.000+0000", "updated": "2012-09-24T17:03:18.000+0000" }, { "id": "229719", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T00:06:46.000+0000", "updated": "2012-12-04T00:06:46.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }