{ "id": "139303", "key": "AC-1191", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-09-28T16:07:33.000+0000", "created": "2014-11-09T10:47:09.000+0000", "labels": [ "alloy", "filter", "ios", "searchbar", "tableview" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:34.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": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14551", "name": "Studio", "description": "Please enter tickets related to Titanium Studio here." } ], "description": "When try search using SearchBar in TableView and click on any row result the app will crashes !\r\n\r\n\r\n", "attachment": [ { "id": "52422", "filename": "example.zip", "author": { "name": "abada", "key": "abada", "displayName": "abada henno", "active": true, "timeZone": "Africa/Cairo" }, "created": "2014-11-09T10:47:09.000+0000", "size": 3571, "mimeType": "application/zip" } ], "flagged": false, "summary": "Ios app crash after search in tableview using searchbar", "creator": { "name": "abada", "key": "abada", "displayName": "abada henno", "active": true, "timeZone": "Africa/Cairo" }, "subtasks": [], "reporter": { "name": "abada", "key": "abada", "displayName": "abada henno", "active": true, "timeZone": "Africa/Cairo" }, "environment": "OS: OSX 10.9.5\r\nPlatform: Titanium Studio, build: 3.4.1.201410281727\r\nTitanium SDK version: 3.4.1.v20141107144118\r\nTested on :\r\nsimulator: Iphone5s ios7.1 and ios 8.0\r\nIphone device iphone 5c with ios 8.1\r\n", "comment": { "comments": [ { "id": "361913", "author": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested this issue, search is working fine in tableview with searchbar, This is not a valid bug.\r\n\r\nh5. Environment\r\n\r\nCLI 4.1.2\r\nSDK 4.1.0.GA\r\niOS 8.3\r\n\r\nh5. Code\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n\tfullscreen : false\r\n});\r\n\r\nvar data = [];\r\n\r\ndata[0] = Ti.UI.createTableViewRow({\r\n\ttitle : 'John AppleSeed',\r\n\tid : '100'\r\n});\r\ndata[1] = Ti.UI.createTableViewRow({\r\n\ttitle : 'John',\r\n\tid : '101'\r\n});\r\ndata[2] = Ti.UI.createTableViewRow({\r\n\ttitle : 'Mark',\r\n\tid : '102'\r\n});\r\ndata[3] = Ti.UI.createTableViewRow({\r\n\ttitle : 'Paul',\r\n\tid : '103'\r\n});\r\n\r\nvar search = Titanium.UI.createSearchBar({\r\n\r\n\tshowCancel : false,\r\n\thintText : 'Search Customer'\r\n});\r\n\r\nsearch.addEventListener('change', function(e) {\r\n\te.value; // search string as user types\r\n});\r\nsearch.addEventListener('return', function(e) {\r\n\tsearch.blur();\r\n});\r\nsearch.addEventListener('cancel', function(e) {\r\n\tsearch.blur();\r\n});\r\n\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView({\r\n\tdata : data,\r\n\tsearch : search\r\n\r\n});\r\n\r\n// add table view to the window\r\nwin.add(tableview);\r\n\r\nwin.open();\r\n{code}\r\n\r\nHope this helps, Thanks.\r\n\r\n", "updateAuthor": { "name": "ahossain", "key": "ahossain", "displayName": "Amimul Hossain", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-09-01T09:32:57.000+0000", "updated": "2015-09-01T09:32:57.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }