{ "id": "174295", "key": "TIMOB-27503", "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": "20832", "name": "Release 8.3.0", "archived": false, "released": true, "releaseDate": "2019-11-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-11-12T10:05:27.000+0000", "created": "2019-10-25T09:44:43.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule", "ios", "regression" ], "versions": [ { "id": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "issuelinks": [ { "id": "57897", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "174228", "key": "TIMOB-27453", "fields": { "summary": "iOS: Cannot show fullscreen modal windows anymore (8.2.1 regression)", "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": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-11-12T10:05:27.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": "15103", "name": "iPad", "description": "iPad support" } ], "description": "From SDK > 8.2.0.GA opening a Popover crash the app. Tested on iOS 11,12,13 simulator.\r\nWith SDK 8.2.0.GA no problems.\r\n\r\nCode from http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iPad.Popover\r\n{code}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'white'});\r\n\r\nvar button = Ti.UI.createButton({title: 'Open Popover!'});\r\nbutton.addEventListener('click', function(e){\r\n popover.show({ view: button });\r\n})\r\nwin.add(button);\r\n\r\nvar rightButton = Ti.UI.createButton({title: 'Robin'});\r\nrightButton.addEventListener('click', function(e){\r\n alert(\"But green's the color of spring.\");\r\n});\r\n\r\nvar contentWindow = Ti.UI.createWindow({\r\n rightNavButton: rightButton,\r\n title: 'Kermit'\r\n});\r\ncontentWindow.add(Ti.UI.createLabel({text: \"It's not easy being green.\"}));\r\n\r\nvar popover = Ti.UI.iPad.createPopover({\r\n backgroundColor: 'green',\r\n contentView: Ti.UI.createNavigationWindow({\r\n width: 250,\r\n height: 100,\r\n window: contentWindow\r\n })\r\n});\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS : Open an iPad Popover crash the app", "creator": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "nicolomonili", "key": "nicolomonili", "displayName": "nicolomonili", "active": true, "timeZone": "Europe/Rome" }, "environment": "Xcode 11.1\r\nSDK 8.3.0.v20191016161716", "closedSprints": [ { "id": 1169, "state": "closed", "name": "2019 Sprint 22", "startDate": "2019-10-21T15:38:21.747Z", "endDate": "2019-11-03T15:38:00.000Z", "completeDate": "2019-11-04T18:36:57.022Z", "originBoardId": 114 }, { "id": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "452261", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "Using the latest 8.3.x build {{8.3.0.v20190904053513}} and CLI {{7.1.1}} I have not been able to reproduce this.\r\n\r\nHowever, on the latest master build {{8.3.0.v20191023125529}} it does crash with stacktrace below:\r\n\r\n{code}\r\n[INFO] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.'\r\n[INFO] *** First throw call stack:\r\n[INFO] (\r\n[INFO] 0 CoreFoundation 0x00007fff23baa1ee __exceptionPreprocess + 350\r\n[INFO] 1 libobjc.A.dylib 0x00007fff50864b20 objc_exception_throw + 48\r\n[INFO] 2 UIKitCore 0x00007fff46e1181b __66-[UIPopoverPresentationController presentationTransitionWillBegin]_block_invoke + 0\r\n[INFO] 3 UIKitCore 0x00007fff46e1c4a7 __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2604\r\n[INFO] 4 UIKitCore 0x00007fff46e19cf9 __56-[UIPresentationController runTransitionForCurrentState]_block_invoke.467 + 536\r\n[INFO] 5 UIKitCore 0x00007fff47581d46 _runAfterCACommitDeferredBlocks + 352\r\n[INFO] 6 UIKitCore 0x00007fff47572774 _cleanUpAfterCAFlushAndRunDeferredBlocks + 248\r\n[INFO] 7 UIKitCore 0x00007fff475a2374 _afterCACommitHandler + 85\r\n[INFO] 8 CoreFoundation 0x00007fff23b0c667 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[INFO] 9 CoreFoundation 0x00007fff23b070fe __CFRunLoopDoObservers + 430\r\n[INFO] 10 CoreFoundation 0x00007fff23b0777a __CFRunLoopRun + 1514\r\n[INFO] 11 CoreFoundation 0x00007fff23b06e66 CFRunLoopRunSpecific + 438\r\n[INFO] 12 GraphicsServices 0x00007fff38346bb0 GSEventRunModal + 65\r\n[INFO] 13 UIKitCore 0x00007fff47578dd0 UIApplicationMain + 1621\r\n[INFO] 14 test 0x000000010f99af8f main + 1215\r\n[INFO] 15 libdyld.dylib 0x00007fff516ecd29 start + 1\r\n[INFO] 16 ??? 0x0000000000000001 0x0 + 1\r\n[INFO] )\r\n[INFO] libc++abi.dylib: terminating with uncaught exception of type NSException\r\n{code}", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-25T13:24:00.000+0000", "updated": "2019-10-25T13:24:00.000+0000" }, { "id": "452329", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "I'm on 8.2.1.GA and my app crashes like above when opening a Popover.. rendering 8.2.1.GA unusable for iPad development... \r\nIs there a workaround other than staying on 8.2.0.GA?", "updateAuthor": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2019-10-29T10:28:23.000+0000", "updated": "2019-10-29T10:28:23.000+0000" }, { "id": "452330", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~thomas.neerup@eg.dk] thanks for reporting, it indeed is broken on 8.2.1.GA now too (I can reproduce too). ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-29T13:36:43.000+0000", "updated": "2019-10-29T13:36:43.000+0000" }, { "id": "452353", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11303", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-10-30T00:07:06.000+0000", "updated": "2019-10-30T00:07:06.000+0000" }, { "id": "452412", "author": { "name": "lawrence.wilson@abannan.com", "key": "lawrence.wilson@abannan.com", "displayName": "Lawrence Wilson", "active": true, "timeZone": "Europe/London" }, "body": "8.2.1.GA cannot be used at all for iPad releases as this is a fix in the TitaniumKit - what is the plan for getting this into 8.2?", "updateAuthor": { "name": "lawrence.wilson@abannan.com", "key": "lawrence.wilson@abannan.com", "displayName": "Lawrence Wilson", "active": true, "timeZone": "Europe/London" }, "created": "2019-11-01T09:47:27.000+0000", "updated": "2019-11-01T09:47:27.000+0000" }, { "id": "452448", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~lawrence.wilson@abannan.com], 8.3.0 RC is planned for start of this week. If you need to be unblocked immediately you can build your own 8.3.0 directly from the PR. You just need to run the following commands inside your local {{titanium_mobile}} repo:\r\n\r\n{code}\r\ngit checkout -b janvennemann-TIMOB-27503 master\r\ngit pull https://github.com/janvennemann/titanium_mobile.git TIMOB-27503\r\nnode build/scons.js cleanbuild ios\r\n{code}\r\n\r\nThis will build the SDK from sources and install it as 8.3.0", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-11-04T14:06:16.000+0000", "updated": "2019-11-04T14:06:16.000+0000" }, { "id": "452514", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~jvennemann], Is this PR ready for QE ?", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-06T22:34:23.000+0000", "updated": "2019-11-06T22:34:23.000+0000" }, { "id": "452518", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~lchoudhary], yup should be good to test. Maybe [~cwilliams] can do the CR since Vijay is still off for the week.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-11-06T22:49:58.000+0000", "updated": "2019-11-06T22:49:58.000+0000" }, { "id": "452534", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. Popover on iPad does not crash and works fine.\r\nWaiting on Jenkins build.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-07T19:00:36.000+0000", "updated": "2019-11-07T19:00:36.000+0000" }, { "id": "452557", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to master", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-11-08T18:35:26.000+0000", "updated": "2019-11-08T18:35:26.000+0000" }, { "id": "452567", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fix in SDK version {{8.3.0.v20191108110820}}.\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/11303", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-11T10:28:43.000+0000", "updated": "2019-11-11T10:28:43.000+0000" }, { "id": "452600", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, also verified on SDK version {{9.0.0.v20191111145151}}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-11-12T10:03:44.000+0000", "updated": "2019-11-12T10:03:44.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }