{ "id": "107795", "key": "ALOY-457", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "14634", "description": "Alloy 1.0.0", "name": "Alloy 1.0.0", "archived": false, "released": true, "releaseDate": "2013-02-19" }, { "id": "14871", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-23T16:46:07.000+0000", "created": "2013-01-14T11:26:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "25011", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "105688", "key": "ALOY-402", "fields": { "summary": "Account for all 1.0.0 deprecations and API changes", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": null, "updated": "2018-03-07T22:26:14.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" } ], "description": "Right now the sync function for custom sync adapters is as follows:\r\n\r\n{code:javascript}\r\nfunction Sync(model, method, opts) {\r\n// ...\r\n}\r\n{code} \r\n\r\nbut as David Yang points out in this PR: https://github.com/appcelerator/alloy/pull/86\r\n\r\nThe order should be (method, model, opts):\r\n\r\n{code:javascript}\r\nfunction Sync(method, model, opts) {\r\n// ...\r\n}\r\n{code}\r\n\r\nWe need to change the order these are processed in the runtime alloy.js file, as well as in all Alloy's supported sync adapters. In addition, we will need to communicate this change to the community as it will break existing sync adapters. As this is a breaking change, it will need to go in before the 1.0.0 release of Alloy.", "attachment": [], "flagged": false, "summary": "Make Alloy sync adapter sync() function signature match that of Backbone", "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": [], "maxResults": 0, "total": 0, "startAt": 0 } } }