{ "id": "111251", "key": "TIMOB-13079", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15577", "description": "2013 Sprint 16 Core", "name": "2013 Sprint 16 Core", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-02T23:18:55.000+0000", "created": "2013-03-15T17:37:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.0" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-11-18T18:28:58.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "If a user goes through the advanced config setup \"ti setup -a\", they are prompted for the \"prompt\" setting. This setting is not made correctly, and the value remains unchanged. If the user later attempts to set the value using \"ti config cli.prompt 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.\r\n\r\nThis is not a regression, occurs with 3.0.24 and 3.0.25\r\n\r\nSteps to reproduce:\r\n1) Check setting of cli.prompt with \"ti config\"\r\n2) Attempt to set with \"ti config cli.prompt true\"\r\n3) Verify setting with \"ti config\"\r\n\r\n4) Now attempt to set with \"ti setup -a\" and look for \"Would you like to be prompted for missing options and arguments?\" - answer \"false\"\r\n5) Check results with \"ti config\"\r\n\r\nResult:\r\nOutput:\r\nemerrimanMBP:droidIos emerriman$ ti config cli.prompt true\r\ncli.prompt saved\r\n\r\nThe setting remains unchanged regardless of how you try to set it\r\n\r\nExpected:\r\nThe value is \"true\"\r\n", "attachment": [], "flagged": false, "summary": "CLI: ti prompt - setting cli.prompt via \"ti config cli.prompt false\" or \"ti setup -a\" returns success but does not change the setting", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 3.0.2.GA\r\nSDK: 3.1.0.v20130314120115\r\nTitanium Studio, build: 3.0.2.201302191606 \r\nCLI: 3.0.24\r\nCLI: 3.0.25", "comment": { "comments": [ { "id": "263326", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "https://github.com/appcelerator/titanium/pull/50\nhttps://github.com/appcelerator/node-appc/pull/50", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-26T01:55:30.000+0000", "updated": "2013-07-26T01:55:30.000+0000" }, { "id": "280004", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311160316\nTitanium SDK, build: 3.2.0.v20131117001643\nCLI: 3.2.0-alpha\nAlloy: 1.3.0\n\nSetting is successfully changed after using \"ti config cli.prompt true\".\n\"ti setup -a\" returns that the setting change was successful.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-18T18:28:54.000+0000", "updated": "2013-11-18T18:28:54.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }