{ "id": "142071", "key": "TIMOB-18288", "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": "2014-12-24T12:18:52.000+0000", "created": "2014-12-24T12:13:35.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "44369", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "132859", "key": "TIMOB-17404", "fields": { "summary": "iOS: Focusing TextField in HeaderView of empty TableView causes application to crash on iOS7.1", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:21:23.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": "h4. Problem Description \r\nWhen a tableview has a textfield added to the footer and the tableview is not populated clicking on the textfield causes the app to crash with the error in attached log.\r\n\r\nh4. Test Case\r\n{code:title=app.js|borderStyle=solid}\r\nvar title_view = Ti.UI.createView({\r\n\theight : 100\r\n});\r\ntitle_view.add(Ti.UI.createTextField({\r\n\twidth : \"90%\",\r\n\theight : 40,\r\n\tborderStyle : Ti.UI.INPUT_BORDERSTYLE_BEZEL\r\n}));\r\n\r\nvar items_view = Ti.UI.createTableView({\r\n\ttop : 30,\r\n\tdata : [],\r\n\tfooterView : title_view\r\n});\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#fff\"\r\n});\r\nwin.add(items_view);\r\nwin.open();\r\n{code}\r\n\r\nh4. Expected result\r\nText field should be focused\r\n\r\nh4. Actual result\r\nApp crashes after text field is focused\r\n", "attachment": [ { "id": "53356", "filename": "ErrorLog.txt", "author": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-24T12:13:35.000+0000", "size": 4311, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Empty tableview with footer causes app to crash", "creator": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS 7.1.2, 8", "comment": { "comments": [ { "id": "414089", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:21:23.000+0000", "updated": "2017-03-20T22:21:23.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }