{ "id": "145271", "key": "ALOY-1310", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "17082", "name": "alloy 1.7.16", "archived": false, "released": true, "releaseDate": "2015-10-08" }, { "id": "17097", "name": "Release 5.0.3", "archived": false, "released": true, "releaseDate": "2015-10-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-09T04:46:11.000+0000", "created": "2015-03-01T12:31:36.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "itemtemplate", "listview", "picker" ], "versions": [ { "id": "17078", "name": "alloy 1.7.15", "archived": false, "released": true, "releaseDate": "2015-10-08" } ], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-10-12T21:23:03.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": "I use a Picker inside a itemTemplate in a ListView. When not using any eventListener, the picker works (but is useless). Once i assign an event like onChange=\"doSomething\", the app crashed when being opened and says:\r\n\r\n\"undefined is not an object (evaluating '$.__views.picker.addEventListener')\";\r\n\r\nExpected behaviour: The picker inside a ListView can have events.\r\nGiven behaviour: The picker inside a ListView cannot have events and the app crashes immediately.\r\n\r\nExample code will be available soon!\r\n\r\n", "attachment": [], "flagged": false, "summary": "Alloy: Picker not working in ListView template", "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.5.0.GA\r\niOS 8.1", "closedSprints": [ { "id": 502, "state": "closed", "name": "2015 Sprint 20 Tooling", "startDate": "2015-09-28T16:01:48.429Z", "endDate": "2015-10-10T01:01:00.000Z", "completeDate": "2015-10-12T21:13:39.920Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "345386", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-07T16:15:01.000+0000", "updated": "2015-03-07T16:15:01.000+0000" }, { "id": "347693", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "We have a ciritical client request on this thing, is there any workaround to handle this? Maybe a special wrapping-view?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-03-30T10:57:33.000+0000", "updated": "2015-03-30T10:57:33.000+0000" }, { "id": "366192", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/728", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-10-08T02:47:52.000+0000", "updated": "2015-10-08T02:47:52.000+0000" }, { "id": "366347", "author": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged.", "updateAuthor": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-10-09T04:46:12.000+0000", "updated": "2015-10-09T04:46:12.000+0000" }, { "id": "366565", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nUsed the code above to test.\r\nThe app does not crash anymore.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.3.1.201509302304\r\nTi SDK : 5.0.2\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.16\r\nMAC Yosemite : 10.10.4\r\nAppc NPM : 4.2.0\r\nAppc CLI : 5.0.3-14\r\nNode: v0.10.37\r\nIphone 5S Simulator : IOS 8.1 ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-12T21:22:55.000+0000", "updated": "2015-10-12T21:22:55.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }