{ "id": "109770", "key": "TIMOB-12756", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2013-02-16T00:09:44.000+0000", "created": "2013-02-15T19:16:24.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-sdk3.0.2" ], "versions": [], "issuelinks": [ { "id": "25889", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "107217", "key": "TIMOB-12168", "fields": { "summary": "CLI: Fix setup command serialization", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-20T22:15:52.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": "Description:\r\n1.Type in 'ti setup --advanced' in the command prompt\r\n2.Go through all the setup options\r\n3.Observe the behavior after the last option\r\n\r\nActual Result:\r\n1.We get error like below:\r\n{code}\r\nC:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\index.js:111\r\n throw e;\r\n ^\r\nTypeError: Object true has no method 'trim'\r\n at exports.run (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\commands\\setup.js:316:42)\r\n at Array.forEach (native)\r\n at exports.run (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\commands\\setup.js:315:25)\r\n at prompt.get (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\prompt\\lib\\prompt.js:317:32)\r\n at async.forEachSeries.iterate (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:116:25)\r\n at assembler (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\prompt\\lib\\prompt.js:314:9)\r\n at prompt.get (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\prompt\\lib\\prompt.js:323:32)\r\n at prompt.getInput (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\prompt\\lib\\prompt.js:598:5)\r\n at Interface.onLine (C:\\Users\\tester\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\prompt\\node_modules\\read\\lib\\read.js:110:5)\r\n{code}\r\n\r\nExpected Results:\r\n1.We should not see any errors", "attachment": [], "flagged": false, "summary": "CLI : We get errors in the end, after going through the advanced setup options", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nCLI version : 3.0.24-cr\r\nWin 7\r\nMAC OSX 10.8.2", "comment": { "comments": [ { "id": "238776", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-12168.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-02-16T00:09:45.000+0000", "updated": "2013-02-16T00:09:45.000+0000" }, { "id": "414071", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:15:52.000+0000", "updated": "2017-03-20T22:15:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }