{ "id": "149845", "key": "AC-1329", "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": "2015-09-30T04:28:43.000+0000", "created": "2015-07-22T10:41:05.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:37:44.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": "A very weird error appeared after I upgraded my app to Titanium 4.1 from 4.0.\r\n\r\nItemclick event on some components of a ListView crashes my application, I've finally found the problem and a workround.\r\nThe problem is difficult to reproduce and i cannot give you my controller/xml/tss because I have too many dependencies, but I reduced the code and I think that with the js and the error who changed the itemclick on ListView perhaps can understand what is the problem.\r\n\r\nIf I set the value property of a textField on my listView passing the value as parameter to the factory application crashes at the popover.show (it always worked before 4.1). If I remove the the parameter in the factory and I set the value after it works.", "attachment": [ { "id": "56212", "filename": "console.txt", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-22T10:32:37.000+0000", "size": 1241, "mimeType": "text/plain" }, { "id": "56211", "filename": "listItemclick.js", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-22T10:32:37.000+0000", "size": 1027, "mimeType": "text/javascript" }, { "id": "56213", "filename": "screenshot.png", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-22T10:32:37.000+0000", "size": 22229, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: error \"Collection was mutated while being enumerated\" on ListView itemclick", "creator": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 4.1.0.GA \r\niOS 8.4\r\niPad 2 (8.4) Simulator", "comment": { "comments": [ { "id": "358151", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Doing the cast to String of the value it works, so it seems that now factory doesn't like to receive a number as value (setValue works).\r\n\r\n'value' : String(orderRow.getQty())", "updateAuthor": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-22T12:35:09.000+0000", "updated": "2015-07-22T12:35:09.000+0000" }, { "id": "358156", "author": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The same problem if I set the \"value\" property of a TextField with a number, it works only if I before do the cast to string with String(value).", "updateAuthor": { "name": "pic", "key": "pic", "displayName": "Mauro Piccotti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-22T14:42:38.000+0000", "updated": "2015-07-22T14:42:38.000+0000" }, { "id": "358446", "author": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "body": "Your problem is likely the same as TIMOB-19249\r\n\r\nHopefully that fix helps you out.", "updateAuthor": { "name": "iotashan", "key": "iotashan", "displayName": "Shannon Hicks", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-28T15:31:25.000+0000", "updated": "2015-07-28T15:31:25.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }