{ "id": "121292", "key": "TIMOB-15507", "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": "15703", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "id": "15705", "description": "2013 Sprint 22 Core", "name": "2013 Sprint 22 Core", "archived": true, "released": true, "releaseDate": "2013-11-01" }, { "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-10-28T16:19:22.000+0000", "created": "2013-10-16T23:06:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-closed-3.2.0" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-08T22:24:04.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "Steps to reproduce:\r\n\r\n1. Select an old sdk... \"ti sdk select 2.1.3.GA\"\r\n(You should see an error like \"[ERROR] Specified Titanium SDK \"2.1.3.GA\" is too old\")\r\n2. Try to switch back to a newer/valid sdk \"ti sdk select 3.0.0.GA\"\r\n\r\nExpected result:\r\nThe sdk should switch back properly\r\n\r\nActual Result:\r\nYou always get the error message \"[ERROR] Specified Titanium SDK \"2.1.3.GA\" is too old\"\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: Selecting an old version of SDK leaves the CLI in an invalid state.", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "275905", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium/pull/62", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-21T10:13:47.000+0000", "updated": "2013-10-21T10:13:47.000+0000" }, { "id": "278815", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified Fixed with:\nCLI 3.2.0 (git://github.com/appcelerator/titanium.git)\nAlloy 1.3.0\nSwitching SDK works as expected. No error.", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-08T22:20:07.000+0000", "updated": "2013-11-08T22:20:07.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }