{ "id": "133315", "key": "TIMOB-17426", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-09-08T21:45:17.000+0000", "created": "2014-07-17T11:05:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "TCSupport", "android", "cloned", "ios", "iphone", "items", "listview" ], "versions": [ { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-24T17:13:18.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\nIf you change an item, the change will be reflected on other items as well by error. \r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile app (classic titanium) \r\n2. Paste the testcode into the app.js \r\n{code}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar myTemplate = {\r\n\tproperties: {\r\n\t\theight: 50,\r\n\t\taccessoryType: Ti.UI.LIST_ACCESSORY_TYPE_NONE,\r\n\t\tselectionStyle: Ti.UI.iPhone.ListViewCellSelectionStyle.NONE,\r\n\t},\r\n\tchildTemplates: [\r\n\t\t{\r\n\t\t\ttype:'Ti.UI.View',\r\n\t\t\tbindId:'bindField',\r\n\t\t\tproperties: {\r\n\t\t\t\twidth:Ti.UI.FILL,\r\n\t\t\t\tbackgroundColor: 'green',\r\n\t\t\t},\r\n\t\t},\r\n\t],\r\n\t\t\t\t\t\r\n\tevents: {\r\n\t\t'click': function(e){\r\n\t\t\t// Ti.API.log(e);\r\n\t\t\te.source.backgroundColor = e.source.backgroundColor=='green'?'red':'green';\r\n\t\t},\r\n\t},\r\n\t\r\n};\r\n\r\nvar itemCount = 100;// Change this to 10 and the bug won't happen\r\nvar section = Ti.UI.createListSection();\r\nvar data = [], views;\r\nfor (var i=0;i