{ "id": "100324", "key": "ALOY-241", "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": "14131", "description": "", "name": "2012 Sprint 18", "archived": true, "released": true, "releaseDate": "2012-09-10" }, { "id": "14176", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": false, "released": true, "releaseDate": "2012-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-06T22:28:50.000+0000", "created": "2012-09-01T10:09:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14131", "description": "", "name": "2012 Sprint 18", "archived": true, "released": true, "releaseDate": "2012-09-10" } ], "issuelinks": [], "assignee": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-28T20:50:17.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": "We need to keep getController() as people have started to do Alloy development but we can deprecate it's use. We need to change all the samples and docs including the quick start to reflect the change.", "attachment": [], "flagged": false, "summary": "Change getController() to createController() to better show it returns a new instance each time vs getView() with always returns the same object", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "217299", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "SOunds perfect. We will need to do the same with the following functions as well:\r\n\r\n* Alloy.getModel -> Alloy.createModel\r\n* Alloy.getCollection -> Alloy.createCollection\r\n* Alloy.getWidget -> Alloy.createWidget\r\n\r\nCan we ask Neeraj what the exact policy is for instituting deprecation? We may not need to do exactly what platform does now, but I think they have a standard method for deprecating things in the API. I think for one 0.1.0 version they mark a property/function as deprecated and log a WARN message in the TiStudio log whenever it is used, indicating that the API in use is deprecated, and which API should be used instead. After that 0.1.0 passes, I believe they remove the deprecated API. \r\n\r\nSO for example, if a 1.8 API was being deprecated, it would still work but show a warning in 1.9.0, and in 2.0 it would have removed the deprecated API entirely. Again, I need confirmation on this though.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-01T12:34:57.000+0000", "updated": "2012-09-01T12:35:25.000+0000" }, { "id": "217566", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not just controller we need the following:\r\n\r\nAlloy.getController -> Alloy.createController\r\nAlloy.getModel -> Alloy.createModel\r\nAlloy.getCollection -> Alloy.createCollection\r\nAlloy.getWidget -> Alloy.createWidget\r\n\r\nAlso need to deprecate the existing getX calls. Will work with doc team on how to do this.\r\n", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-04T23:59:36.000+0000", "updated": "2012-09-04T23:59:36.000+0000" }, { "id": "217581", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Also make sure the quick start and all test apps are updated and tested as well.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-05T06:44:36.000+0000", "updated": "2012-09-05T06:45:00.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }