{ "id": "170772", "key": "AC-5509", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2018-01-11T14:42:13.000+0000", "created": "2018-01-11T02:13:12.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-02-12T16:46:09.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Switching between orientations on iOS 11.2 sim for a 7.0.1.GA build causes crash.\r\nDoesn't happen when switch back to 6.3.0.GA build.\r\n\r\nxcode version \r\nVersion 9.2 (9C40b)\r\nNode.js\r\n Node.js Version = 8.9.1\r\n npm Version = 5.5.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\n node-appc Version = 0.2.41\r\n\r\nTitanium SDKs\r\n 7.0.1.GA\r\n\r\nappc -v\r\n7.0.1", "attachment": [ { "id": "64726", "filename": "crashlog.txt", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-01-23T00:23:55.000+0000", "size": 9031, "mimeType": "text/plain" } ], "flagged": false, "summary": "7.0.1.GA ios simulator change orientation landscape crash", "creator": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "subtasks": [], "reporter": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "environment": null, "comment": { "comments": [ { "id": "433005", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Does it happen for any sample app? I have tested a sample app, I haven't seen the issue. Can you provide us a sample app to test? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2018-01-11T03:43:29.000+0000", "updated": "2018-01-11T03:43:29.000+0000" }, { "id": "433011", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "body": "It's a production app. If it's not happening on the sample app, then you can close this issue, it might be the production app specific then.", "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-01-11T05:53:11.000+0000", "updated": "2018-01-11T05:53:11.000+0000" }, { "id": "433034", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~threethirds] There is nothing we changed regarding the orientation handling between those versions and cannot reproduce it in our sample apps. It may be caused by an application logic that changed between the versions. Please let us know if you think different and have a test-case, then we'll put our resources on it. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-01-11T14:42:06.000+0000", "updated": "2018-01-11T14:42:06.000+0000" }, { "id": "433486", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi [~hknoechel],\r\n\r\nFurther testing shows it is related to a ios searchbar in a listview. With orientationchange under the previous env conditions causing the crash. I have attached the crash log. Removing the searchbar stopped the crashing.\r\n\r\nThanks, [^crashlog.txt] \r\nAnthony\r\n", "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-01-23T00:24:07.000+0000", "updated": "2018-01-23T00:24:07.000+0000" }, { "id": "434365", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hey [~threethirds], followung up here. Did you test with 7.0.2.GA? It includes many search-bar related fixed and improvements (especially for iOS 11+). cc [~vsingh]\r\n\r\n*EDIT*: Looking into your crash log, you are trying something odd with a Ti.Database instance (maybe through Alloy). It says {{[TiDatabaseProxy window]: unrecognized selector sent to instance}} which means that a TiDatabaseProxy wants to receive the \"window\" object which isn't valid. Looking at our source, there are no places we are trying to do that. So if it still happens with 7.0.2 and didn't with 6.x, we'd need a test case to reopen this. Thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-12T16:21:21.000+0000", "updated": "2018-02-12T16:24:35.000+0000" }, { "id": "434369", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "body": "Hi [~hknoechel],\r\nCould this happen if I was trying to keep a reference to a window?\r\n\r\nAlloy.Globals.courses = $;\r\n", "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-02-12T16:37:00.000+0000", "updated": "2018-02-12T16:37:00.000+0000" }, { "id": "434370", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Ohhh yes it can! Can you try to prevent that and see if it changes something? Globals in globals are not really nice for performance either :-).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-02-12T16:39:03.000+0000", "updated": "2018-02-12T16:39:03.000+0000" }, { "id": "434373", "author": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "body": "Thanks, I'll go cleaning.\r\nThis is one of the oldest pieces of code in the app from when I started with Alloy :)\r\nI'll switch to a decoupled event listener model for this behaviour, rather than keeping the reference around for lazy access to the attached window function. \r\n\r\nCheers", "updateAuthor": { "name": "threethirds", "key": "threethirds", "displayName": "Anthony Chung", "active": true, "timeZone": "Australia/Sydney" }, "created": "2018-02-12T16:46:09.000+0000", "updated": "2018-02-12T16:46:09.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }