{ "id": "111833", "key": "AC-2196", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2013-03-28T21:11:07.000+0000", "created": "2013-03-28T12:38:01.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:41:11.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": [], "description": "h3. Steps to Reproduce\nIn a template, attach an event listener to one of the sub-views. Add 'touchstart' event listener.\n\nTrying to get the data of the row like this:\nvar index - e.rowIndex;\nvar section = e.section;\nvar data = section.getItemAt(index).\nWill crash. Furthermore, e.rowIndex is undefined. e.itemIndex does return the right index for the row.\n\nWhen the event is switched to click instead, everything works.\n\nh3. Actual Result\nCrash. \n\nh3. Expected Result\nGetting the row data.", "attachment": [ { "id": "36735", "filename": ".log", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-28T12:38:19.000+0000", "size": 4045409, "mimeType": "application/octet-stream; charset=ISO-8859-1" }, { "id": "36798", "filename": "app.js", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-29T09:59:49.000+0000", "size": 7751, "mimeType": "application/x-javascript" }, { "id": "36736", "filename": "diagnostic5006707211611153818.log", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-28T12:38:24.000+0000", "size": 4437, "mimeType": "application/octet-stream; charset=ISO-8859-1" } ], "flagged": false, "summary": "ListView Event Handler crashes app when reading row data", "creator": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Titanium Studio 3.0.2\r\nSDK: 3.1.0 (Build Number: cd47400)", "comment": { "comments": [ { "id": "244541", "author": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Itay,\nWould you mind providing a piece of reproducible test code that displays this issue, one that can be simply copied and pasted into an app.js and that clearly shows the problem. When submitting bugs with this relevant data it ensures a much quicker review time and can be more quickly moved to engineering for the fix. For future reference:\nhttps://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report\nThank you for your patience,\nCarter", "updateAuthor": { "name": "clathrop", "key": "clathrop", "displayName": "Carter Lathrop", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T21:10:52.000+0000", "updated": "2013-03-28T21:10:52.000+0000" }, { "id": "244641", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "A sample App.JS that has sample data with three views demonstrating the problem", "updateAuthor": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-29T09:59:49.000+0000", "updated": "2013-03-29T09:59:49.000+0000" }, { "id": "244642", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Uploaded a sample app with sample data.\nIn each row, clicking the yellow and green views the application crashes. Clicking the red shows the expected results.\n\n(Also, Ti.UI.SIZE doesn't seem to work when applied to the height of the row in this template).", "updateAuthor": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-03-29T10:01:37.000+0000", "updated": "2013-03-29T10:01:37.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }