{ "id": "154616", "key": "TIMOB-20298", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-02-05T17:42:03.000+0000", "created": "2016-02-01T20:21:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" } ], "issuelinks": [ { "id": "50535", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "154771", "key": "TIMOB-20355", "fields": { "summary": "Titanium app with navigation window in a tab crashes when closed on iOS", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-05T22:52:18.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" }, { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "When a classic titanium app with tabs is closed on iOS it crashes.\r\n\r\n*Steps to reproduce:*\r\n1) Create a new mobile app: Classic -> Tabbed Application\r\n2) Run the app on iOS Simulator\r\n3) Double tap the home icon to bring up the app selection/multitasking screen\r\n4) Close the app by sliding it up\r\n\r\n*Expected result*\r\nApp closes normally, without an exception\r\n\r\n*Actual result*\r\nConsole displays:\r\n[ERROR] : Can not close root window of the tab. Use removeTab instead\r\n\r\nIt seems like the problem is occurring [here|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiUITabProxy.m#L275]", "attachment": [], "flagged": false, "summary": "Classic Titanium app with tabs crashes when closed on iOS", "creator": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "environment": null, "closedSprints": [ { "id": 580, "state": "closed", "name": "2016 Sprint 3 SDK", "startDate": "2016-01-30T01:31:48.991Z", "endDate": "2016-02-13T01:31:00.000Z", "completeDate": "2016-02-15T05:32:40.725Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "375949", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR pending: https://github.com/appcelerator/titanium_mobile/pull/7676/files", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-04T00:15:40.000+0000", "updated": "2016-02-04T00:15:40.000+0000" }, { "id": "375984", "author": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "body": "Anyway we can get this into 5.2 would make huge strides for the customer. \r\n\r\n+1 from my side to do so!", "updateAuthor": { "name": "bgrantges@appcelerator.com", "key": "bgrantges", "displayName": "Bert Grantges", "active": false, "timeZone": "America/Chicago" }, "created": "2016-02-04T04:07:24.000+0000", "updated": "2016-02-04T04:07:24.000+0000" }, { "id": "376011", "author": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "body": "Great!", "updateAuthor": { "name": "clinseman", "key": "clinseman", "displayName": "Chris Linseman", "active": true, "timeZone": "Europe/London" }, "created": "2016-02-04T10:44:52.000+0000", "updated": "2016-02-04T10:44:52.000+0000" }, { "id": "376104", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~apetkov] We need this in 5.2.0 so please do a back port as well. ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-05T08:18:59.000+0000", "updated": "2016-02-05T08:18:59.000+0000" }, { "id": "376109", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/7686\r\nPR (5_2_X): https://github.com/appcelerator/titanium_mobile/pull/7685\r\n\r\nCherry-picked Angel's commits and added one to ensure a proper logging while running on kroll thread.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-02-05T10:55:30.000+0000", "updated": "2016-02-05T10:55:30.000+0000" }, { "id": "376171", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201602050824\r\nTi SDK 5.2.0.v20160205071936\r\nAppc NPM 4.2.3-1\r\nTi CLI 5.0.6\r\nAlloy 1.7.33\r\nXcode 7.2 (7C68)\r\n\r\nTabbed applications can be closed/killed without throwing an error or warning. Tested with several sample app templates.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-05T22:52:18.000+0000", "updated": "2016-02-05T22:52:18.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }