Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17087] CLI: Config command saves booleans as integers

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-06-06T18:32:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCLI
Labelsqe-closed-3.3.0, qe-testadded, regression
ReporterChris Barber
AssigneeChris Barber
Created2014-06-06T18:21:26.000+0000
Updated2014-06-18T08:33:55.000+0000

Description

Problem occurs when you run something like:
ti config android.autoSelectDevice true
When you run ti config android.autoSelectDevice, it returns 1 instead of true.

Comments

  1. Chris Barber 2014-06-06

    Titanium CLI Master pull request: https://github.com/appcelerator/titanium/pull/142 Titanium CLI 3_3_X pull request: https://github.com/appcelerator/titanium/pull/143
  2. Priya Agarwal 2014-06-18

    Verified the fixed with environment: Appcelerator-Studio:3.3.0.201406171619 Sdk:3.3.0.v20140617161713 acs:1.0.14 alloy:1.4.0-rc npm:1.3.2 titanium:3.3.0-rc titanium-code-processor:1.1.1 xcode:5.1.1 OS:Maverick(10.9.3) Steps followed: 1.Run the command.
       ti config android.autoSelectDevice true
       
    After the configuration getting saved. Again run the command ti config android.autoSelectDevice, it returns true instead of 1. Working as expected. Hence closing the issue.

JSON Source