{ "id": "140968", "key": "TIMOB-18138", "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": "18162", "name": "titanium 5.0.9", "archived": false, "released": true, "releaseDate": "2016-06-17" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-18T15:54:32.000+0000", "created": "2014-12-04T18:32:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2017-03-21T18:39:17.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": "Steps to reproduce:\r\n\r\n1. Run {{ti setup}}\r\n2. Choose network\r\n3. When prompted if you're behind a proxy, enter \"yes\" then enter a proxy address (e.g. http://localhost). Complete the rest of the questions, accepting the defaults.\r\n4. Choose network\r\n5. When prompted, enter \"no\" to specify that you're not behind a proxy. Complete the rest of the questions.\r\n6. Choose network. The prompts show that \"yes\" you're behind a proxy. If you examine the ~/.titanium/config.json file you'll see that the proxy address is still listed in the httpProxyServer key.\r\n\r\nExpectation - if you specify no, the proxy value would be cleared and further prompts by setup would default to no.\r\n", "attachment": [], "flagged": false, "summary": "CLI: ti setup, network option, setting proxy to no doesn't clear value from config file", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 339, "state": "closed", "name": "2015 Sprint 04 Tooling", "startDate": "2015-02-14T02:34:21.061Z", "endDate": "2015-02-28T02:34:00.000Z", "completeDate": "2015-02-28T15:51:32.596Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "343485", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/titanium/pull/190\r\nFollow steps to reproduce stated above, the proxy value should be cleared if option No is selected.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-16T07:43:29.000+0000", "updated": "2015-02-16T07:43:29.000+0000" }, { "id": "343535", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "FR/CR pass, merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-17T15:31:17.000+0000", "updated": "2015-02-17T15:31:17.000+0000" }, { "id": "354624", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Followed the above test steps for checking the fix & the proxy value still exists in the config file.\r\n\r\nReopening.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201505071004\r\nTi SDK : 4.1.0.v20150605164428\r\nCLI : 4.0.1\r\nAlloy : 1.6.0\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 4.0.0\r\nAppc CLI : 4.0.2-rc2\r\nNode: v0.10.37", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-08T22:00:58.000+0000", "updated": "2015-06-08T22:01:26.000+0000" }, { "id": "393514", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I re-verified with Titanium CLI 5.0.9 and it works as expected. Resolving fixed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-18T15:54:32.000+0000", "updated": "2016-08-18T15:54:32.000+0000" }, { "id": "414299", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T18:39:17.000+0000", "updated": "2017-03-21T18:39:17.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }