{ "id": "63930", "key": "TIMOB-3298", "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": "11360", "description": "Mobile 1.8.0 M07", "name": "Sprint 2011-28", "archived": true, "released": true, "releaseDate": "2011-07-18" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-07-11T15:35:14.000+0000", "created": "2011-04-15T03:41:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ipad", "popover", "splitview" ], "versions": [ { "id": "11367", "description": "", "name": "Release 1.7.1", "archived": true, "released": true, "releaseDate": "2011-06-21" } ], "issuelinks": [], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-07-11T15:35:14.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": "{html}
I mentioned this in #944 but thought it better to add a ticket in its\r\nown right. If a SplitWindow is closed while the master view is\r\nbeing displayed in a popover the app crashes with the following\r\nerror:
\r\n2011-03-06 13:18:52.817 S4CiPad[91506:207] *** Terminating\r\napp due to uncaught exception 'NSGenericException', reason:\r\n'-[UIPopoverController dealloc] reached while popover is still\r\nvisible.'
I've seen tickets that suggest that functionality has either\r\nbeen added, or is destined to be added, that lets us control the\r\npopover's visibility programmatically but I think Appcelerator\r\nneeds to be more robust and if necesary close the popover\r\nautomatically when the SplitWindow is closed.
\r\nI've attached a test case for the issue. I've also got a patch\r\nfor this that you may find acceptable, I'll update this issue once\r\nI've forked the project and committed it.
Pull request is here: https://github.com/appcelerator/titanium_mobile/pull/77