{ "id": "159119", "key": "TIMOB-23121", "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": "2016-03-31T07:16:34.000+0000", "created": "2016-03-29T21:42:22.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "listview", "windows" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" }, { "id": "17072", "name": "Release 5.1.2", "archived": false, "released": true, "releaseDate": "2016-01-12" }, { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [ { "id": "51185", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "155767", "key": "TIMOB-20601", "fields": { "summary": "Windows: Support bindId property on ListView", "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": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2017-03-24T18:26:52.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h6. Issue Description \r\n\r\nWhen clicking on a listitem in a listview the listitemclick event is fired and received, but the bindId property for the element clicked is undefined. \r\n\r\nh6. Steps to Replicate\r\n# Create a new appcelerator alloy project\r\n# Open index.xml and replace the code with the next:\r\n{code}\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\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# Open index.tss and replace the code with the next: \r\n{code}\r\n\".container\": {\r\n\tbackgroundColor:\"white\"\r\n}\r\n\r\n\"Label\": {\r\n\tcolor: \"#000\"\r\n}\r\n\r\n\"#label\": {\r\n\tfont: {\r\n\t\tfontSize: 12\r\n\t}\r\n}\r\n{code}\r\n# Index.js\r\n{code}\r\nvar currentClickedIndex = -1;\r\n\r\nfunction itemClick(evt){\r\n\talert(evt.bindId);\r\n}\r\n\r\nvar listItems = [];\r\n\r\nfor(var ii = 0; ii < 20; ii++){\r\n\tlistItems.push({\r\n\t\ttemplate : 'foo',\r\n\t\tproperties : {\r\n\t\t\theight : 80\r\n\t\t}\r\n\t});\r\n}\r\n\r\n$.list.sections = [Ti.UI.createListSection({\r\n\titems : listItems\r\n})];\r\n\r\n$.index.open();\r\n{code}\r\n# Run for windows device or simulator\r\n# click on any list item\r\n# The BindId is undefined\r\n\r\n** This is working on Android. ", "attachment": [ { "id": "58759", "filename": "image.png", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-29T21:42:09.000+0000", "size": 11755, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Bind Ids Reporting as undefined", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Microsoft Windows 8.1 Enterprise N,SDK Version = 5.2.0.v20160220080449,5.4.0.v20160307212310 \r\nWindows Phone emulator: 8-1-1 \r\nAppcelerator Command-Line Interface, version 5.2.0 \r\nAppcelerator Studio, build: 4.4.0.201511241829 \r\nNode.js Version: 0.12.7 \r\nnpm Version 2.11.3 ", "comment": { "comments": [ { "id": "381036", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I believe this is a duplicate of TIMOB-20601", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-03-30T12:34:11.000+0000", "updated": "2016-03-30T12:34:11.000+0000" }, { "id": "381060", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "yes, it looks like the same issue", "updateAuthor": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-30T17:28:40.000+0000", "updated": "2016-03-30T17:28:40.000+0000" }, { "id": "381149", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "duplicate of TIMOB-20601", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-03-31T07:16:34.000+0000", "updated": "2016-03-31T07:16:34.000+0000" }, { "id": "415676", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate with reference to the linked issues.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:26:52.000+0000", "updated": "2017-03-24T18:26:52.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }