Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13077] CLI: ti config - setting cli.quiet via "ti config cli.quiet true" returns success but does not change the setting

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2013-08-02T23:18:53.000+0000
Affected Version/sRelease 3.0.2, Release 3.1.0
Fix Version/s2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0
ComponentsCLI
Labelsqe-sdk3.1.0
ReporterEric Merriman
AssigneeChris Barber
Created2013-03-15T17:24:22.000+0000
Updated2013-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"

Comments

  1. Chris Barber 2013-07-26

    https://github.com/appcelerator/titanium/pull/50 https://github.com/appcelerator/node-appc/pull/50
  2. Chris Barber 2013-07-31

    To test, run the steps in the description.
  3. Dhirendra Jha 2013-11-15

    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$

JSON Source