{ "id": "175517", "key": "TIMOB-28126", "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": "21057", "description": "", "name": "Release 9.1.1", "archived": true, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-28T17:23:17.000+0000", "created": "2020-09-09T23:48:42.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-09-28T17:23: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": "The customer is experiencing a crash but no event is being sent to dashboard, the event should be stored and sent the next time the app is launched.\r\n\r\n*Testcase*;\r\n\r\n{noformat}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: \"white\",\r\n layout: \"vertical\"\r\n});\r\n\r\nvar flipBtn = Ti.UI.createButton({\r\n top: 50,\r\n title: \"Flip\"\r\n});\r\n\r\nvar controlView = Ti.UI.createView({\r\n});\r\n\r\nvar view1 = Ti.UI.createView({\r\n elevation: 20,\r\n width: 200,\r\n height: 200,\r\n top: 100,\r\n backgroundColor: \"red\"\r\n});\r\n\r\ncontrolView.add(view1);\r\n\r\nvar view2 = Ti.UI.createView({\r\n elevation: 20,\r\n width: 200,\r\n height: 200,\r\n top: 100,\r\n backgroundColor: \"green\"\r\n});\r\n\r\nwin.add(flipBtn);\r\nwin.add(controlView);\r\n\r\nvar isShowGreen = false;\r\n\r\nflipBtn.addEventListener('click', function () {\r\n if (isShowGreen) {\r\n isShowGreen = false;\r\n view1.show();\r\n controlView.animate({\r\n view: view1,\r\n transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT\r\n });\r\n view2.hide();\r\n } else {\r\n isShowGreen = true;\r\n view2.show();\r\n controlView.animate({\r\n view: view2,\r\n transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT\r\n });\r\n view1.hide();\r\n }\r\n});\r\n\r\nwin.open();\r\n{noformat}\r\n\r\n*Expected*;\r\nCrash event to appear on dashboard.", "attachment": [], "flagged": false, "summary": "iOS: Event queue may not flush after exception", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Appc SDK: 9.1.0.GA\r\nAppc NPM: 5.0.0\r\nAppc CLI: 8.1.0\r\nXcode: 11.7\r\nNode: 12.18.1\r\nNPM: 6.14.6\r\nACA: 2.0.2", "closedSprints": [ { "id": 1205, "state": "closed", "name": "2020 Sprint 18", "startDate": "2020-08-31T15:45:10.220Z", "endDate": "2020-09-11T15:45:00.000Z", "completeDate": "2020-09-11T19:56:20.674Z", "originBoardId": 114 }, { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456833", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/12037", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-11T01:02:59.000+0000", "updated": "2020-09-11T01:02:59.000+0000" }, { "id": "456843", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build and backports. ", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-11T13:46:51.000+0000", "updated": "2020-09-11T13:46:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }