[TIMOB-17208] CLI: CLI crashes when "ti build -d" and "ti build -A" command is run without path values
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2015-02-10T07:15:33.000+0000 |
Affected Version/s | Release 3.3.0 |
Fix Version/s | Release 4.1.0 |
Components | CLI |
Labels | qe-3.3.0 |
Reporter | Kajenthiran Velummaylum |
Assignee | Feon Sua Xin Miao |
Created | 2014-06-25T04:51:14.000+0000 |
Updated | 2015-07-07T18:05:58.000+0000 |
Description
titanium build command fails for the flags *-d* and *-A* if there are no path values specified. The behavior of flags are described in following table based on the test result.
|| command || behavior ||
| ti build -d | CLI crashes |
| ti build --project-dir (if current directory is a project directory) | build success |
| ti build --project-dir ( if current directory is not a project directory) | CLI crashes |
| | |
| ti build -A | CLI crashes |
| ti build --android-sdk | build success with default android path |
| ti build --android-sdk (without valid android path settings) | Invalid SDK path error is thrown and prompting for new *SDK path* |
For more details, please refer the attached screenshots.
This is *not a regression* since issue is occurring in CLI 3.2.3 GA as well.
Attachments
Ti SDK : 3.5.0.GA Ti CLI : 3.4.1
Closing ticket as cannot reproduce. Tested on: Appc CLI NPM: 4.1.0-1 Appc CLI Core: 4.1.0-5 Arrow: 1.1.0-11 SDK: 4.1.0.v20150706111546 Node: v0.10.38 OS: Yosemite (10.10.4)