{ "id": "132115", "key": "TIMOB-17190", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-22T05:35:19.000+0000", "created": "2014-06-23T09:40:51.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "38619", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "107713", "key": "TIMOB-12268", "fields": { "summary": "CLI: Setup wizard fails when an existing configuration has an invalid SDK version", "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": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-27T17:45:19.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": " ti setup sdk fails on second time when CLI has invalid SDK configuration.\r\n\r\nh5. Steps To Reproduce:\r\n 1. Run *ti sdk* command and check the current selected SDK version\r\n 2. Rename or delete that SDK folder from your machine\r\n 3. Then run *ti setup sdk* command\r\n 4. Enter a value to setup default sdk version.\r\n 5. Skip \"Path to find and install Titanium SDKs\" settings by pressing Enter.\r\n 6. Setup main menu will appear. You press 7 or sdk again.\r\n \r\nh5. Actual Result:\r\nError message thrown. Please see the attachment for more info.\r\n[ERROR] RangeError: Invalid array length\r\n\r\nh5. Expected Result:\r\nIt should display \"Titanium SDK Settings\" menu.", "attachment": [ { "id": "49181", "filename": "ti_setup_sdk_fail.png", "author": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-06-23T09:40:51.000+0000", "size": 71423, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: \"ti setup sdk\" fails on second time when CLI has invalid SDK configuration.", "creator": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kvelummaylum", "key": "kvelummaylum", "displayName": "Kajenthiran Velummaylum", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "|| Component || Version ||\r\n| Appcelerator Studio | 3.3.0.201406171619 |\r\n| Titanium SDK | 3.3.0.v20140620194913 |\r\n| Node | 0.10.28 |\r\n| ACS | 1.0.14 |\r\n| Alloy | 1.4.0-rc2 |\r\n| NPM | 1.4.9 |\r\n| CLI | 3.3.0-rc2 |\r\n| Titanium-code-processor | 1.1.1 |\r\n| OS | OSX 10.9.3 |\r\n| Xcode | 5.1.1 |", "closedSprints": [ { "id": 708, "state": "closed", "name": "2016 Sprint 19 Tooling", "startDate": "2016-09-10T00:25:31.005Z", "endDate": "2016-09-24T00:25:00.000Z", "completeDate": "2016-09-26T05:33:10.846Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "396912", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This was fixed as apart of TIMOB-16052 and released in Titanium CLI 3.3.0.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-09-22T05:35:19.000+0000", "updated": "2016-09-22T05:35:19.000+0000" }, { "id": "415881", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-27T17:45:19.000+0000", "updated": "2017-03-27T17:45:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }