[TIMOB-15507] CLI: Selecting an old version of SDK leaves the CLI in an invalid state.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-10-28T16:19:22.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2013 Sprint 22, 2013 Sprint 22 Core, Release 3.2.0 |
Components | CLI |
Labels | qe-closed-3.2.0 |
Reporter | Allen Yeung |
Assignee | Chris Barber |
Created | 2013-10-16T23:06:39.000+0000 |
Updated | 2013-11-08T22:24:04.000+0000 |
Description
Steps to reproduce:
1. Select an old sdk... "ti sdk select 2.1.3.GA"
(You should see an error like "[ERROR] Specified Titanium SDK "2.1.3.GA" is too old")
2. Try to switch back to a newer/valid sdk "ti sdk select 3.0.0.GA"
Expected result:
The sdk should switch back properly
Actual Result:
You always get the error message "[ERROR] Specified Titanium SDK "2.1.3.GA" is too old"
Pull request: https://github.com/appcelerator/titanium/pull/62
Tested and verified Fixed with: CLI 3.2.0 (git://github.com/appcelerator/titanium.git) Alloy 1.3.0 Switching SDK works as expected. No error.