{ "id": "174333", "key": "TIMOB-27523", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-11-04T18:08:44.000+0000", "created": "2019-11-04T14:21:07.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "escalation" ], "versions": [ { "id": "20884", "name": "Release 8.2.1", "archived": false, "released": true, "releaseDate": "2019-10-25" } ], "issuelinks": [], "assignee": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2019-11-04T18:08:44.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": "15103", "name": "iPad", "description": "iPad support" } ], "description": "*Description:* Popover sample code of our doc shows error on iPad but it works as expected on TI SDK 8.2.0.GA\r\n\r\n- http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iPad.Popover-method-show \r\n\r\n*Steps To Reproduce:*\r\n1. Create an Alloy App with the above sample code\r\n2. Run it on iPad simulator or device, iOS v12.X or 13.X\r\n3. Click on Open Popover button\r\n\r\n{code:title=errorLog}\r\n[DEBUG] : APSAnalytics: Attempting to send 2 analytics event(s)\r\n[DEBUG] : *** Terminating app due to uncaught exception 'NSGenericException', reason: 'UIPopoverPresentationController () should have a non-nil sourceView or barButtonItem set before the presentation occurs.'\r\n[DEBUG] : *** First throw call stack:\r\n[DEBUG] : (\r\n[DEBUG] : 0 CoreFoundation 0x000000010b1521bb __exceptionPreprocess + 331\r\n[DEBUG] : 1 libobjc.A.dylib 0x0000000109f4d735 objc_exception_throw + 48\r\n[DEBUG] : 2 UIKitCore 0x00000001169baed1 -[UIPopoverPresentationController presentationTransitionWillBegin] + 3168\r\n[DEBUG] : 3 UIKitCore 0x00000001169c487b __71-[UIPresentationController _initViewHierarchyForPresentationSuperview:]_block_invoke + 2495\r\n[DEBUG] : 4 UIKitCore 0x00000001169c1e6b __56-[UIPresentationController runTransitionForCurrentState]_block_invoke + 468\r\n[DEBUG] : 5 UIKitCore 0x00000001170d20d2 _runAfterCACommitDeferredBlocks + 318\r\n[DEBUG] : 6 UIKitCore 0x00000001170c0b2c _cleanUpAfterCAFlushAndRunDeferredBlocks + 384\r\n[DEBUG] : 7 UIKitCore 0x00000001170efefc _afterCACommitHandler + 135\r\n[DEBUG] : 8 CoreFoundation 0x000000010b0b6c27 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n[DEBUG] : 9 CoreFoundation 0x000000010b0b10be __CFRunLoopDoObservers + 430\r\n[DEBUG] : 10 CoreFoundation 0x000000010b0b1751 __CFRunLoopRun + 1537\r\n[DEBUG] : 11 CoreFoundation 0x000000010b0b0e11 CFRunLoopRunSpecific + 625\r\n[DEBUG] : 12 GraphicsServices 0x000000010f7811dd GSEventRunModal + 62\r\n[DEBUG] : 13 UIKitCore 0x00000001170c681d UIApplicationMain + 140\r\n[DEBUG] : 14 HelloWorldTest 0x00000001049030ef main + 1231\r\n[DEBUG] : 15 libdyld.dylib 0x000000010d5da575 start + 1\r\n[DEBUG] : )\r\n[DEBUG] : libc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n{code}\r\n\r\nI attached the sample code and screenshots.\r\n\r\nThanks!\r\n\r\n", "attachment": [ { "id": "67104", "filename": "app.zip", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-11-04T14:17:23.000+0000", "size": 8086414, "mimeType": "application/zip" }, { "id": "67107", "filename": "build_iphone.log", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-11-04T14:14:38.000+0000", "size": 22151, "mimeType": "text/plain" }, { "id": "67106", "filename": "Simulator_Screen_Shot_-_iPad_(5th_generation)_-_2019-11-04_at_17.14.47.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-11-04T14:16:27.000+0000", "size": 72308, "mimeType": "image/png" }, { "id": "67105", "filename": "Simulator_Screen_Shot_-_iPad_(5th_generation)_-_2019-11-04_at_17.14.49.png", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-11-04T14:16:27.000+0000", "size": 58589, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: PopOver is crashing in iPad using Ti SDK 8.2.1.GA", "creator": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.14.6\r\nNode.js\r\n Node.js Version = 10.16.3\r\n npm Version = 6.9.0\r\nSupport/Titanium/mobilesdk/osx/8.2.1.GA\r\n Target Platform = iphone", "comment": { "comments": [], "maxResults": 1, "total": 1, "startAt": 0 } } }