{ "id": "107848", "key": "TIMOB-12282", "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": "2014-08-13T18:22:17.000+0000", "created": "2013-01-15T01:20:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "js", "qe-cli", "qe-manualtest" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14161", "description": "Release 3.0.1", "name": "Release 3.0.1", "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": [ { "id": "29340", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "102708", "key": "TIMOB-11267", "fields": { "summary": "CLI: Revamp prompt library", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "24510", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106188", "key": "TIMOB-12003", "fields": { "summary": "CLI: Setup wizard doesn't properly validate iOS Developer Name with ID", "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": "2014-08-13T18:22: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": "Setup wizard prompts name of the iOS distribution certificate , provided the correct name , error comes stating \"TypeError: Object true has no method 'trim' \r\nCLI: Setup wizard throws an error while input is provided to iOS distribution certificate prompt. \r\n\r\nSteps to reproduce: \r\n1. run \"Titanium setup -a\" \r\n2. Process till the prompt for iOS distribution certificate comes\r\n3. Provide the valid distribution certificate name.\r\n\r\nActual result :\r\nAn error is shown as follows\r\n\r\n/usr/local/lib/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 (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:310:42)\r\n at Array.forEach (native)\r\n at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:309:25)\r\n at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:317:32)\r\n at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)\r\n at assembler (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:314:9)\r\n at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:323:32)\r\n at prompt.getInput (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:598:5)\r\n at Interface.onLine (/usr/local/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:110:5)\r\n\r\nExpected Result : \r\nSetup wizard should successfully configure the iOS distribution certificate\r\n", "attachment": [ { "id": "34735", "filename": "Screen Shot 2013-01-14 at 12.45.32 PM.png", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-15T01:20:09.000+0000", "size": 59315, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: Setup wizard throws an error while input is provided to iOS distribution certificate prompt. ", "creator": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "environment": "SDK version: 3.0.1.v20130111165328 , 3.1.0.v20130111163212, 3.0.0.GA\r\nCLI version : 3.0.22\r\nOS : MAC OSX 10.7.5 \r\nXCode : 4.5.1", "comment": { "comments": [ { "id": "246363", "author": { "name": "davetownsend", "key": "davetownsend", "displayName": "Dave Townsend", "active": true, "timeZone": "America/Phoenix" }, "body": "Until there is a fix, can the \"Distribution Certificate Section\" setting be added manually to the config.json file? If so, what section? ", "updateAuthor": { "name": "davetownsend", "key": "davetownsend", "displayName": "Dave Townsend", "active": true, "timeZone": "America/Phoenix" }, "created": "2013-04-08T04:09:06.000+0000", "updated": "2013-04-08T04:12:22.000+0000" }, { "id": "263329", "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:59:58.000+0000", "updated": "2013-07-26T01:59:58.000+0000" }, { "id": "264195", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run \"titanium setup ios\" and it will correctly list and allow you to select the cert.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-31T17:40:31.000+0000", "updated": "2013-07-31T17:40:31.000+0000" }, { "id": "279733", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Environment - \nAppc Studio - 3.2.0.201311140721\nSDK - 3.2.0.v20131114184328\nacs -1.0.7\nalloy - 1.3.0\ntitanium - 3.2.0\ntitanium-code-processor - 1.1.0\nXcode - 5.0.2\nOS - Mac OS X Mavericks (10.9)\nResult - Now its working fine. No error observed. Hence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-15T07:28:50.000+0000", "updated": "2013-11-15T07:28:50.000+0000" }, { "id": "318498", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "reopened to add labels", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-13T18:20:56.000+0000", "updated": "2014-08-13T18:20:56.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }