{ "id": "82704", "key": "TIMOB-6183", "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": "12086", "description": "", "name": "Sprint 2011-46", "archived": true, "released": true, "releaseDate": "2011-11-21" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-05T15:03:17.000+0000", "created": "2011-11-14T13:30:35.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "module_tabgroup", "qe-testadded" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-01-05T15:03: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": "h3.Problem\r\nLeft navigation button (leftNavButton) causing app to crash.\r\n\r\nh3.REGRESSION works correctly with 1.7.5\r\n\r\nh3.Reproducible Steps\r\n1. Run the sample code\r\n2. Toggle back and forth between the windows by clicking on the 'Settings' and 'Done' buttons\r\n\r\nh3.Sample Code\r\n{code}\r\nTitanium.UI.setBackgroundColor(\"#C5CCD4\");\r\n\r\n\r\nfunction handleSettings(_event) {\r\n var modal = Ti.UI.createWindow();\r\n \r\n function handleClose(_event) {\r\n modal.close();\r\n Ti.API.info(\"closed\");\r\n };\r\n \r\n /*\r\n * UI INSTANTIATION\r\n */\r\n var win2 = Ti.UI.createWindow({titleid: \"Settings\", barColor: \"#000\"});\r\n var navGroup = Ti.UI.iPhone.createNavigationGroup({\r\n window: win2\r\n });\r\n \r\n var buttonClose = Ti.UI.createButton({systemButton: Ti.UI.iPhone.SystemButton.DONE});\r\n win2.leftNavButton = buttonClose;\r\n modal.add(navGroup);\r\n \r\n \r\n buttonClose.addEventListener(\"click\",function(e){\r\n modal.close();\r\n });\r\n \r\n var view = Ti.UI.createView({width: \"100%\",\r\n height: \"100%\",\r\n top: 0,\r\n left: 0,\r\n layout: \"vertical\",\r\n backgroundColor: \"#C5CCD4\"});\r\n\r\n win2.add(view);\r\n modal.open(); \r\n};\r\n \r\nvar win1 = Titanium.UI.createWindow({ \r\n title:'Tab 1',\r\n backgroundColor:'#fff',\r\n navBarHidden: false,\r\n tabBarHidden: true\r\n});\r\n \r\nvar buttonSettings = Ti.UI.createButton({titleid: \"Settings\"});\r\nbuttonSettings.addEventListener(\"click\",handleSettings);\r\n \r\nwin1.leftNavButton = buttonSettings;\r\n \r\ntabGroup = Ti.UI.createTabGroup();\r\n \r\ntabSR = Ti.UI.createTab({\r\n window: win1\r\n})\r\n \r\ntabGroup.addTab(this.tabSR);\r\n \r\n// Open the tab group, without animation since the tabs are hidden\r\ntabGroup.open({\r\n transition: Titanium.UI.iPhone.AnimationStyle.NONE\r\n});\r\n{code}\r\n\r\nh3.Log\r\n{code}\r\nNov 14 14:04:50 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget (null).\r\nNov 14 14:04:50 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget [object TiUIWindow].\r\nNov 14 14:04:51 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget (null).\r\nNov 14 14:04:51 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget [object TiUIWindow].\r\nNov 14 14:04:52 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget (null).\r\nNov 14 14:04:52 unknown UIKitApplication:com.test.searchtest[0xd569][8324] : [FATAL] Orphaned [object TiUIWindow] is trying to forget [object TiUIWindow].\r\nNov 14 14:04:52 unknown ReportCrash[8326] : Formulating crash report for process SearchTest[8324]\r\n{code}\r\n\r\nh3.Associated HelpDesk Ticket\r\nhttp://appc.me/c/APP-687672", "attachment": [], "flagged": false, "summary": "iOS: leftNavButton causing app to crash", "creator": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kpomaski", "key": "kpomaski", "displayName": "Karol Pomaski", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5, Simulator, mobile SDK 1.8.0.1.v20111112200657, 1.8.0.v20111017175015\r\nTested on: iPad2 (iOS5)\r\nREGRESSION works correctly with 1.7.5", "comment": { "comments": [ { "id": "172684", "author": { "name": "mark.e.allen@emc.com", "key": "mark.e.allen@emc.com", "displayName": "Mark Allen", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Noticed this was a low priority. This is not the case as far as EMC is concerned. We need the bug fixed before we can deploy. Deployment is scheduled for 12/10/2011. Using SDK 1.7.5 is NOT an option for us.", "updateAuthor": { "name": "mark.e.allen@emc.com", "key": "mark.e.allen@emc.com", "displayName": "Mark Allen", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-15T04:25:27.000+0000", "updated": "2011-11-15T04:25:27.000+0000" }, { "id": "172803", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Pull #708 pending.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-11-15T14:34:37.000+0000", "updated": "2011-11-15T14:34:37.000+0000" }, { "id": "175178", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Ti Studio 1.0.7.201112061404\r\n
Ti Mob SDK 1.8.0.1.v20111207091653\r\n
OSX Lion\r\n
iPod Touch 4.3.5, iPhone 4S OS 5.0.1, iPad 2 OS 4.3.5, iPhone Simulator 5.0\r\n\r\nExpected behavior is shown of application not crashing", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-07T10:47:34.000+0000", "updated": "2011-12-07T10:47:34.000+0000" }, { "id": "178213", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to edit labels", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-05T14:36:12.000+0000", "updated": "2012-01-05T14:36:12.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }