{ "id": "132669", "key": "ALOY-1075", "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": "16596", "name": "Alloy 1.6.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-24T05:34:12.000+0000", "created": "2014-07-07T17:08:38.000+0000", "epic": { "id": 111450, "key": "ALOY-576", "name": "Support Backbone 1.x", "summary": "Upgrade to Backbone 1.0", "color": { "key": "color_1" }, "done": true }, "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "56237", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "170731", "key": "TIDOC-3093", "fields": { "summary": "Alloy: Models & Collections: Update docs to reflect Backbone 1.3.3 support", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "41658", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "137261", "key": "TIDOC-1895", "fields": { "summary": "Alloy: Models & Collections: Update docs to reflect Backbone 1.1.2 support", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "41092", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "132667", "key": "ALOY-1073", "fields": { "summary": "Create a Backbone 1.x compatible sync adapter", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "41093", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "132668", "key": "ALOY-1074", "fields": { "summary": "Enable developers to specify Backbone version in config.json", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "56232", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "165230", "key": "ALOY-1534", "fields": { "summary": "Add support for Backbone 1.3.3 and Underscore 1.8.3", "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": "Critical", "id": "1" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2018-01-04T23:29:45.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": "13605", "name": "Models" }, { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Specifically, check Mads' REST adapter. Provide guidance on updating adapters that don't work.", "attachment": [], "flagged": false, "summary": "Confirm existing adapters support Backbone 1.x", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 217, "state": "closed", "name": "2014 Sprint 19 Alloy", "startDate": "2014-09-15T12:45:43.956Z", "endDate": "2014-09-29T12:45:00.000Z", "completeDate": "2014-09-29T13:30:39.342Z", "originBoardId": 124 }, { "id": 206, "state": "closed", "name": "2014 Sprint 18 Alloy", "startDate": "2014-09-02T13:23:09.065Z", "endDate": "2014-09-16T13:23:00.000Z", "completeDate": "2014-09-15T12:25:31.379Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "319665", "author": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "body": "Can confirm from experience that Mads' REST adapter is working with Backbone 1.x. What would be nice however is to add a REST adapter to Alloy, based upon Backbone's own sync method.", "updateAuthor": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "created": "2014-08-21T08:12:20.000+0000", "updated": "2014-08-21T08:12:20.000+0000" }, { "id": "324200", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Looked at backbone version 0.9.9, 0.9.10, 1.0.0, 1.1.0, 1.1.1 and 1.1.2.\r\nModel apps in the test directory are affected by following changes that break backwards compatibility:\r\n\r\n*v0.9.10*\r\n{quote}\r\nPassing \\{silent:true\\} on change will no longer delay individual \"change:attr\" events, instead they are silenced entirely. \r\n{quote}\r\n\r\nSo {{silent:true}} suppresses the {{change:attr}} events entirely, view is not updated to reflect the new changes .\r\n\r\nThis could be fixed by remove silent option in adapter.\r\n\r\n*v1.0.0*\r\n{quote}\r\nRenamed Collection's \"update\" to set, for parallelism with the similar model.set(), and contrast with reset. It's now the default updating mechanism after a fetch. If you'd like to continue using \"reset\", pass \\{reset: true\\}. \r\n{quote}\r\n\r\nThis means that Backbone collections do not emit 'reset' event after fetch, so to use old functionality, pass {{\\{reset: true\\}}}when calling {{collection#fetch()}} will work with existing sql adapter.\r\n\r\nOR override the fetch method in the model JS file:\r\n\r\n{code} \r\n extendCollection : function(Collection) {\r\n _.extend(Collection.prototype, {\r\n\t\t\tfetch: function(options) {\r\n\t\t\t\toptions = options ? _.clone(options) : {};\r\n\t\t\t\toptions.reset = true;\r\n\t\t\t\treturn Backbone.Collection.prototype.fetch.call(this, options);\r\n\t\t\t}\r\n });\r\n\r\n return Collection;\r\n }\r\n{code}", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-09-17T08:08:32.000+0000", "updated": "2014-09-19T15:58:13.000+0000" }, { "id": "324712", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This change will mean existing apps could break unless they are updated. Therefore, I recommend that we\r\n\r\n* Continue with Backbone 0.9.x as the default in Alloy 1.6\r\n* Provide optional support for 1.1.2 in Alloy 1.6 -- include it, enable setting the version in config.json, and document the new requirements for models if a developer chooses to enable it\r\n* Deprecate 0.9.x in Alloy 1.6 -- update the docs, include in release notes\r\n* Change to 1.1.2 as the default in 1.7 but continue to ship 0.9.x for backward compatibility", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-19T14:52:03.000+0000", "updated": "2014-09-19T14:52:03.000+0000" }, { "id": "325348", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "ALOY-1074 implements the change.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-09-24T03:02:48.000+0000", "updated": "2014-09-24T03:02:48.000+0000" }, { "id": "329227", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Reopen to backport to 1_6_X branch", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-23T19:58:18.000+0000", "updated": "2014-10-23T19:58:18.000+0000" }, { "id": "347337", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 4.0.0.v20150323131014\r\nStudio 4.0.0.201503231407\r\nAppc NPM: 0.3.34\r\nAppc CLI 0.2.187\r\nAlloy 1.6.0-alpha\r\n\r\nAdaptors working as expected using backbone 1.1.2.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-25T21:26:42.000+0000", "updated": "2015-03-25T21:26:42.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }