{ "id": "122880", "key": "TIMOB-15813", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-03T22:26:17.000+0000", "created": "2013-11-25T17:55:30.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_titanium", "qe-3.2.0", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-24T06:57:40.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": "h5.Description\r\nRunning \"ti config\" in CLI will display all the variables and their corresponding values. In this case paths.sdks is set to be\r\n{code}\"C:\\Users\\AppcelTester\\AppData\\Roaming\\Titanium\\\".{code}\r\nRunning ti config a second time will make the value\r\n{code}\"C:\\Users\\AppcelTester\\AppData\\Roaming\\Titanium\\, C:\\Users\\AppcelTester\\AppData\\Roaming\\Titanium\\\"{code}\r\n\r\nThe more I run ti config the longer it gets.\r\n\r\nh5.Steps To Reproduce\r\n1. Run ti config to make sure a paths.sdks value is set\r\n2. Set paths.sdks to a location\r\n3. Run ti config a few times\r\n4. Look at paths.sdks value\r\n\r\nh5.Expected Result\r\npaths.sdks should still be the same value\r\n\r\nh5.Actual Result\r\npaths.sdks adds it's original value onto itself. Increasing in length each time \"ti config\" is run", "attachment": [ { "id": "44145", "filename": "pathssdks.PNG", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T17:55:30.000+0000", "size": 17812, "mimeType": "image/png" }, { "id": "44146", "filename": "pathssdks2.PNG", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-25T17:55:30.000+0000", "size": 22868, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: 'ti config' will duplicate the length of the paths.sdks value", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 8.1\r\nCLI: 3.2.0-alpha", "comment": { "comments": [ { "id": "282086", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium/pull/80\n3.2.x. pull request: https://github.com/appcelerator/titanium/pull/81", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-03T08:12:56.000+0000", "updated": "2013-12-03T08:12:56.000+0000" }, { "id": "286469", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Running 'ti config' shows the original set value and it does not change after running multiple times\r\n\r\nVerified the fix on:\r\nSDK: 3.2.0.GA\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.9\r\nAlloy: 1.3.1-alpha\r\nACS: 1.0.11\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.0.201312191455\r\ntitanium-code-processor: 1.1.0\r\nXCode : 5.0.2", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-01-02T10:03:08.000+0000", "updated": "2014-01-02T10:03:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }