{ "id": "113982", "key": "TIMOB-13787", "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": "15490", "description": "2013 Sprint 10 JS", "name": "2013 Sprint 10 JS", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15108", "description": "2013 Sprint 10", "name": "2013 Sprint 10", "archived": true, "released": true, "releaseDate": "2013-05-20" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-15T19:06:21.000+0000", "created": "2013-05-08T05:21:18.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "code-analyzer", "qe-closed-3.1.1", "qe-testadded" ], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-09-24T09:11:15.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": "13102", "name": "Code Processor", "description": "Analyzes JavaScript source" } ], "description": "Currently, list of APIs in plugin results (such as ti-api-usage-finder) are sorted by execution order which can get unwieldy to deal with in large projects. They should be sorted alphabetically instead", "attachment": [ { "id": "38537", "filename": "Screen Shot 2013-05-15 at 2.00.27 PM.png", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T18:01:25.000+0000", "size": 32751, "mimeType": "image/png" } ], "flagged": false, "summary": "Code Processor: Lists of APIs in plugins should be sorted alphabetically", "creator": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "252073", "author": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To test, run \"titanium analyze -p iphone -A -R results\". This will generate HTML results files in a directory called \"results\" inside the project folder. Open index.html in the results folder and navigate to the API Usage tab. Without the fix, the APIs are unsorted, but with the fix they are sorted alphabetically.", "updateAuthor": { "name": "bhughes", "key": "bhughes", "displayName": "Bryan Hughes", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T17:35:09.000+0000", "updated": "2013-05-15T17:35:09.000+0000" }, { "id": "252093", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Functionally testing https://github.com/appcelerator/titanium-code-processor/pull/178 I found that either upper/lower case letters are not sorting properly, or the sorting is dependent on whether the API is a namespace versus a function. All the Ti.UI.createView calls are sorted _after_ all the Ti.UI.View ones.\n\nSee the attached screenshot for reference.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T18:01:38.000+0000", "updated": "2013-05-15T18:01:38.000+0000" }, { "id": "252114", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T18:58:33.000+0000", "updated": "2013-05-15T18:58:33.000+0000" }, { "id": "252120", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Got an updated version of the plugin branches and all is working as expected now. Merged all 4 PRs.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T19:06:08.000+0000", "updated": "2013-05-15T19:06:08.000+0000" }, { "id": "254875", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The list of the APIs being used is displayed in the 'API Usage Finder' section.\r\nVerified that the order in which are displayed is alphabetically in all the subsections relative to APIs (like \"APIs Used\" and \"APIs Used by File\").\r\n\r\n\r\nAppcelerator Studio 3.1.1.201305292130\r\nTitanium SDK 3.1.1.v20130529114554\r\nAlloy 1.1.3-alpha\r\nTitanium-Code-Processor 1.1.3-alpha3\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-30T17:00:48.000+0000", "updated": "2013-05-30T17:00:48.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }