{ "id": "111450", "key": "ALOY-576", "fields": { "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-09-26T14:48:09.000+0000", "created": "2013-03-20T12:45:54.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "notable" ], "versions": [], "issuelinks": [ { "id": "38821", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "132670", "key": "TIDOC-1753", "fields": { "summary": "Update guides with details on using and writing Backbone 1.x-compatible sync adapters", "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": "31998", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "108515", "key": "TIDOC-991", "fields": { "summary": "Guides: Update Model documentation for changes due to Backbone update", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "41095", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "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": "33836", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "123824", "key": "AC-3227", "fields": { "summary": "Update built-in Backbone framework to the latest one", "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" } }, "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": "2015-04-13T16:26:56.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": [ { "id": "13605", "name": "Models" }, { "id": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": null, "attachment": [], "flagged": false, "summary": "Upgrade to Backbone 1.0", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "305497", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "Any news? Backbone is 1.1.2 already/", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2014-05-19T13:46:38.000+0000", "updated": "2014-05-19T13:46:38.000+0000" }, { "id": "305514", "author": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So i bugged Tony about this at tiConf NY. If you really have to have backbone version X >= 1.0 then do the following\r\n\r\ncreate a directory at the root of your alloy project called lib.\r\nthen do the following\r\n\r\nlib/alloy/backbone.js\r\n\r\nclean and compile your project. congrats. \r\nI haven't ran alloy through all its paces to know if that breaks anything, but it didn't appear to break models (which was my motivation), nor views or controllers. ", "updateAuthor": { "name": "sophrinix", "key": "sophrinix", "displayName": "Andrew McElroy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T15:37:03.000+0000", "updated": "2014-05-19T15:37:03.000+0000" }, { "id": "305516", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~sophrinix] is right. The only thing I'm aware of off-hand is that it will likely break the sql adapter. We will try to work this ticket into a version soon, but this workaround should suffice in the meantime.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T15:41:22.000+0000", "updated": "2014-05-19T15:41:22.000+0000" }, { "id": "305523", "author": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "body": "Yep. I tried to replace old backbone with new but it broke sql adapter.", "updateAuthor": { "name": "farwayer", "key": "farwayer", "displayName": "Far", "active": true, "timeZone": "Europe/Minsk" }, "created": "2014-05-19T16:28:12.000+0000", "updated": "2014-05-19T16:28:12.000+0000" }, { "id": "306213", "author": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "body": "I grew so frustrated with BackBone 0.9.2 that I decided to fix it myself. I downloaded the latest backbone.js and placed in lib/alloy\r\n\r\nThe SQL adapter was indeed the problem and the following line is causing the crashes:\r\n{code:javascript}\r\nmodel.length = len;\r\n{code}\r\n(line 176)\r\n\r\nBackbone 1.0+ does also remove and update models in a collection, not only adds them. It uses the length of the Collection before the fetch, to determine whether and which models need to be deleted. By setting the length of the Collection in the sync adapter, this functionality breaks.\r\n\r\nThe real issue with upgrading will probably lie in the implementation of the developers using Alloy, because several events have changed as well. It's a breaking upgrade for some. If you do want to start using BackBone 1.0+, remove the mentioned line.", "updateAuthor": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "created": "2014-05-23T10:10:59.000+0000", "updated": "2014-08-21T07:59:10.000+0000" }, { "id": "325838", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This is resolved by ALOY-1074 and its related tickets (e.g. ALOY-1075, ALOY-1148)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-26T14:48:09.000+0000", "updated": "2014-09-26T14:48:09.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }