{ "id": "87263", "key": "TIMOB-7860", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" }, { "id": "13170", "name": "Sprint 2012-06", "archived": true, "released": true, "releaseDate": "2012-03-25" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-03-21T16:00:20.000+0000", "created": "2012-03-01T17:42:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-doc" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [ { "id": "15496", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "85518", "key": "TIMOB-7421", "fields": { "summary": "Tooling: As a Ti documentation writer, I would like to have access to enhanced TDoc tools", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "15497", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "87255", "key": "TIDOC-423", "fields": { "summary": "APIDoc: deprecated Titanium.UI.orientation should link to Titanium.Gesture.orientation", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-21T20:53:42.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": "10207", "name": "Tooling" } ], "description": "This causes some confusion, for example, because the Ti.UI module includes a getOrientation method, which is *not* marked deprecated, which is actual an accessor for a deprecated property.\r\n\r\nTesting Notes\r\n-------------\r\n\r\nTo test the fix, run docgen once before pulling the fix branch. Open dist/apidoc/Titanium.UI-module.html and note that getOrientation and setOrientation do *not* show a \"Deprecated\" text at the beginning of the summary line, but the related \"orientation' property does.\r\n\r\nThen pull the fix branch and run docgen again. getOrientation and setOrientation should now show \"Deprecated\" at the beginning of the summary line, and if you click through to the method description, you should see the full deprecation message--\"Deprecated since 1.7.2\" or words to that effect.\r\n\r\nFor extra credit, you can edit UI.yml, find name: orientation and add a \"removed\" tag to the deprecation warning:\r\n\r\ndeprecated: { since: \"1.7.2\", removed: \"2.0.0\" }\r\n\r\nRe-run docgen, and you should see the \"removed 2.0.0\" text on the method pages as well.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Tooling: docgen.py Accessors for deprecated properties should also be deprecated", "creator": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "187608", "author": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR 1775 addresses this change, at least for the HTML generator:\r\nhttps://github.com/appcelerator/titanium_mobile/pull/1775\r\n\r\nNeed to integrate and test with the JSDuck generator separately.", "updateAuthor": { "name": "aevans", "key": "aevans", "displayName": "Arthur Evans", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T22:09:39.000+0000", "updated": "2012-03-20T22:09:39.000+0000" }, { "id": "235248", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\nTested and verified with:\nappcelerator / titanium_mobile \nlatest commit 7966135c19\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130118180632", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-21T20:53:14.000+0000", "updated": "2013-01-21T20:53:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }