{ "id": "175428", "key": "ALOY-1737", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "21091", "name": "CLI Release 8.1.1", "archived": false, "released": true, "releaseDate": "2020-09-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-08-12T13:54:25.000+0000", "created": "2020-08-11T19:11:46.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "listview" ], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-09-14T18:42: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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "When using Alloy ListView databinding it will produce code with {code}setItems(){code} and therefore produce a \"using deprecated setter\" warning:\r\n\r\nhttps://github.com/appcelerator/alloy/blob/6c311743af90da438f9c30bfdbe29275247daa51/Alloy/commands/compile/parsers/Ti.UI.ListSection.js#L163\r\n\r\n{code}\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n{code}", "attachment": [], "flagged": false, "summary": "Alloy: ListView dataBinding creates deprecated setItems call", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1203, "state": "closed", "name": "2020 Sprint 16", "startDate": "2020-08-03T20:57:55.114Z", "endDate": "2020-08-14T20:57:00.000Z", "completeDate": "2020-08-14T15:19:51.647Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456417", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/alloy/pull/966\r\n\r\nProduces this classic code\r\n{code}\r\n$.__views.__alloyId25.setItems(__alloyId26,opts.animation):$.__views.__alloyId25.items=__alloyId26\r\n{code}\r\nand won't print deprecation warnings", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-08-11T19:29:07.000+0000", "updated": "2020-08-11T19:30:18.000+0000" }, { "id": "456436", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "This wont make it into 8.1.0 so setting the fixVersion to a tentative CLI Release 8.2.0, but will release the alloy package separately", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-08-12T13:50:31.000+0000", "updated": "2020-08-12T13:51:19.000+0000" }, { "id": "456886", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with CLI 8.1.1-master.8.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-14T18:42:47.000+0000", "updated": "2020-09-14T18:42:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }