[TIMOB-17190] CLI: "ti setup sdk" fails on second time when CLI has invalid SDK configuration.
GitHub Issue | n/a |
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-09-22T05:35:19.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 3.3.0 |
Components | CLI |
Labels | qe-3.3.0 |
Reporter | Kajenthiran Velummaylum |
Assignee | Chris Barber |
Created | 2014-06-23T09:40:51.000+0000 |
Updated | 2017-03-27T17:45:19.000+0000 |
Description
ti setup sdk fails on second time when CLI has invalid SDK configuration.
Steps To Reproduce:
1. Run *ti sdk* command and check the current selected SDK version
2. Rename or delete that SDK folder from your machine
3. Then run *ti setup sdk* command
4. Enter a value to setup default sdk version.
5. Skip "Path to find and install Titanium SDKs" settings by pressing Enter.
6. Setup main menu will appear. You press 7 or sdk again.
Actual Result:
Error message thrown. Please see the attachment for more info.
[ERROR] RangeError: Invalid array length
Expected Result:
It should display "Titanium SDK Settings" menu.
Attachments
This was fixed as apart of TIMOB-16052 and released in Titanium CLI 3.3.0.
Closing ticket as fixed with reference to the above comments.