[TIMOB-13077] CLI: ti config - setting cli.quiet via "ti config cli.quiet true" returns success but does not change the setting
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-08-02T23:18:53.000+0000 |
Affected Version/s | Release 3.0.2, Release 3.1.0 |
Fix Version/s | 2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0 |
Components | CLI |
Labels | qe-sdk3.1.0 |
Reporter | Eric Merriman |
Assignee | Chris Barber |
Created | 2013-03-15T17:24:22.000+0000 |
Updated | 2013-11-15T08:59:48.000+0000 |
Description
If a user goes through the advanced config setup "ti setup -a", they are not prompted for the "quiet" setting. If the user attempts to set the value using "ti config cli.quiet true" then a success message is returned, but the setting is not made. This leaves the only option for setting cli.quiet is to pass in the flag with each command.
This is not a regression, occurs with 3.0.24 and 3.0.25
Steps to reproduce:
1) Check setting of cli.quiet with "ti config"
2) Attempt to set with "ti config cli.quiet true"
3) Verify setting with "ti config"
Result:
Output:
emerrimanMBP:droidIos emerriman$ ti config cli.quiet true
cli.quiet saved
The setting remains "false"
Expected:
The value is "true"
https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
To test, run the steps in the description.
Environment - Appc Studio - 3.2.0.201311140721 SDK - 3.2.0.v20131114184328 acs -1.0.7 alloy - 1.3.0 titanium - 3.2.0 titanium-code-processor - 1.1.0 Xcode - 5.0.2 OS - Mac OS X Mavericks (10.9) Result - Now "cli.quiet" set to true save the setting. After that "ti config" does not show any output. adminisorsmini6:~ dhirendra.jha$ ti config cli.quiet true cli.quiet saved adminisorsmini6:~ dhirendra.jha$ ti config adminisorsmini6:~ dhirendra.jha$