{ "id": "170143", "key": "TIMOB-25446", "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": "19906", "description": "", "name": "Release 6.3.0", "archived": false, "released": true, "releaseDate": "2017-11-01" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-10-26T17:39:00.000+0000", "created": "2017-10-26T14:22:53.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-10-30T11:59:13.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": "Hi All,\r\n\r\nMy app gets crashed during itemclick event of Listview in IOS,* while a list item is clicked & search bar is active.*\r\nOn click of item i'm closing the current window.\r\nSame code works perfectly in Android.\r\n\r\nScenario 1:\r\n- On click on item, window gets closed as expected.\r\n- In this case search bar is inactive.\r\n\r\nScenario 2:\r\n- Search for an item in search bar & on click of that particular item the app gets freezed & clicking anywhere makes app crashed.\r\n- Expected result was to close the current window.\r\n- alert & console logs get executed though.\r\n\r\nHave attached dummy code & some screenshots for testing.\r\n\r\nThanks.", "attachment": [ { "id": "63482", "filename": "Image1 with search bar inactive.png", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-26T14:14:27.000+0000", "size": 56872, "mimeType": "image/png" }, { "id": "63481", "filename": "Image2 with search bar active.png", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-26T14:15:58.000+0000", "size": 70972, "mimeType": "image/png" }, { "id": "63484", "filename": "index.js", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-26T13:07:05.000+0000", "size": 400, "mimeType": "text/javascript" }, { "id": "63483", "filename": "index.xml", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-26T13:07:27.000+0000", "size": 572, "mimeType": "text/xml" } ], "flagged": false, "summary": "iOS: ListView itemclick event issues with SearchBar", "creator": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "subtasks": [], "reporter": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "environment": "Titanium sdk 6.2.2 GA\r\nIOS ver 11.0.1 in Simulator", "comment": { "comments": [ { "id": "429671", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I am not able to reproduce the issue with the following test-case (the provided one seems incomplete and only has the window opened):\r\n{code:js}\r\n\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n});\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: 'Trigger'\r\n});\r\n\r\nbtn.addEventListener('click', function(e) {\r\n openWindow();\r\n});\r\n\r\nwin.add(btn);\r\n\r\nwin.add(btn);\r\nwin.open();\r\n\r\nfunction openWindow() {\r\n var win2 = Ti.UI.createWindow({\r\n backgroundColor: '#fff'\r\n });\r\n\r\n var list = Ti.UI.createListView({\r\n searchView: Ti.UI.createSearchBar(),\r\n sections: [Ti.UI.createListSection({\r\n items: [{\r\n properties: {\r\n title: 'Test Row',\r\n searchableText: 'Test Row'\r\n }\r\n }]\r\n })]\r\n });\r\n \r\n list.addEventListener('itemclick', function(e) {\r\n win2.close();\r\n });\r\n\r\n win2.add(list);\r\n win2.open();\r\n{code}\r\nCan you adjust that one to actually crash? I want to keep the test-case simple and limited to the actual issue.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-26T17:32:44.000+0000", "updated": "2017-10-26T17:32:44.000+0000" }, { "id": "429674", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I am able to reproduce it on 6.2.x but not on 6.3.0+ and master (7.0.0), so it was very likely fixed already. Please try out the 6.3.0 RC (GA soon) by using {{appc ti sdk install -b 6_3_X}}, thx!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-26T17:39:00.000+0000", "updated": "2017-10-26T17:39:00.000+0000" }, { "id": "429812", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "body": "Hello Hans,\r\n\r\nInstalling SDK 6.3.0.v20171026154532 manually has solved the above issue & i'm able to get the expected result in simulator.\r\n\r\nNow i was about to generate a new build for itunes using above SDK but i'm getting following error.\r\n\r\n{color:red}[ERROR] : Invalid \"--pp-uuid\" value \"c75fd452-e580-4577-b77f-3917915c2586\"\r\nFor help, run: titanium.js help build\r\n{color}\r\n\r\nIf i change the SDK back to 6.2.2 GA i'm able to generate the ipa.\r\n\r\nCertificates & provisioning profiles are valid for my project.\r\n\r\nOther details:\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.12.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 6.9.5\r\n npm Version = 3.10.10\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 6.3.0.v20171026154532\r\n SDK Path = /Users/nileshsatpute/Library/Application Support/Titanium/mobilesdk/osx/6.3.0.v20171026154532\r\n Target Platform = iphone\r\n\r\n\r\nAwaiting your reply.\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-30T10:02:05.000+0000", "updated": "2017-10-30T10:02:05.000+0000" }, { "id": "429813", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The reason for that is that the CLI now handled invalid certificates more strict. The reason for the error is because you have invalid / expired developer certificates in your keychain and (even if there is a valid one as well), the CLI will mark it as invalid. TIMOB-25416 improves that behavior and will also be part of the final GA version of 6.3.0. Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-30T10:23:53.000+0000", "updated": "2017-10-30T10:23:53.000+0000" }, { "id": "429814", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "body": "Hi Hans,\r\n\r\nI've just removed all invalid/expired certificates from my keychain & restarted my mac. Still i'm getting the same error. I've also refreshed certificates from Appcelerator Studio -> Preferences but the issue still persists.\r\n\r\nAnything else i need to perform in settings?\r\n\r\nThanks.\r\n", "updateAuthor": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-30T10:46:38.000+0000", "updated": "2017-10-30T10:46:38.000+0000" }, { "id": "429821", "author": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "body": "Also do i need to remove existing provisioning profiles as well?", "updateAuthor": { "name": "Suraj Datta", "key": "suraj datta", "displayName": "Suraj Datta", "active": true, "timeZone": "Indian/Mahe" }, "created": "2017-10-30T11:59:13.000+0000", "updated": "2017-10-30T11:59:13.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }