{ "id": "145540", "key": "AC-766", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-09-29T03:52:58.000+0000", "created": "2015-03-07T16:10:06.000+0000", "labels": [ "alloy", "crash", "eventlistener", "listview", "picker" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:02.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": "Picker events cannot be used inside the to be displayed in a ListView. The error is \"undefined is not an object (evaluating 'e.__views.__alloyId91.addEventListener')\".\r\n\r\nTest case:\r\n{code:title=index.xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\n{code:title=index.js}\r\nvar section = Ti.UI.createListSection({\r\n\titems : [{\r\n\t\ttemplate : \"DateTimePicker\",\r\n\t\tproperties : {\r\n\t\t\theight : 200\r\n\t\t}\r\n\t}]\r\n});\r\n\r\n$.listView.setSections([section]);\r\n$.win.open();\r\n\r\nfunction setPickerValue(e) {\r\n\tTi.API.warn(e);\r\n}\r\n{code}\r\n\r\n{code:title=index.tss}\r\n\".picker\": {\r\n\ttype: Titanium.UI.PICKER_TYPE_DATE_AND_TIME,\r\n\theight: 200\r\n}\r\n{code}", "attachment": [ { "id": "54403", "filename": "IMG_4643.PNG", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-11T11:50:30.000+0000", "size": 83959, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy: Usage of Picker events in ListView crashes app", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Ti.SDK 3.4.1.GA, 3.5.0.GA, 3.5.1.GA (all current versions)", "comment": { "comments": [ { "id": "345677", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "body": "Hi,\r\n\r\nPlease provide a test case to reproduce your problem. Here is a guide about how to create a test case for bug reporting. [http://docs.appcelerator.com/titanium/3.0/#!/guide/How_to_Submit_a_Bug_Report-section-29004732_HowtoSubmitaBugReport-CreatingaTestCase]\r\n\r\nRegards,\r\nShuo", "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2015-03-11T07:21:31.000+0000", "updated": "2015-03-11T07:21:31.000+0000" }, { "id": "345691", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you! I've added a detailed test case and the error screen that appears.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-11T11:51:21.000+0000", "updated": "2015-03-11T11:51:21.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }