{ "id": "107217", "key": "TIMOB-12168", "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:42.000+0000", "created": "2012-12-29T17:54:09.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "29365", "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": "29364", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109005", "key": "TIMOB-12546", "fields": { "summary": "CLI: Running 'titanium setup -a' , error comes after prompt 'path to ndk', object has no method trim.", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "25889", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "109770", "key": "TIMOB-12756", "fields": { "summary": "CLI : We get errors in the end, after going through the advanced setup options", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "30575", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "117805", "key": "TIMOB-14739", "fields": { "summary": "iOS: Missing required option \"--password\" when creating project", "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": "Low", "id": "4" }, "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": "2013-11-15T07:25: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": "When the setup command finishes prompting for all values, the values are serialized and saved. It's (somehow) possible that the serialization fails when a value is thought to be a string, but instead it's a boolean.\r\n\r\n{code}\r\nPath to the Android NDK: (this is needed for building native Titainum Modules for Android) \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{code}\r\n\r\nHere's the Q&A question where the bug was found: http://developer.appcelerator.com/question/146242/problem-occurred-unable-to-create-new-project-with-sdk3.", "attachment": [], "flagged": false, "summary": "CLI: Fix setup command serialization", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "comment": { "comments": [ { "id": "232771", "author": { "name": "stuartjp", "key": "stuartjp", "displayName": "Stuart Porteous", "active": true, "timeZone": "Europe/Dublin" }, "body": "Here's the full output from terminal..\r\n\r\nPath to the Android NDK: (this is needed for building native Titainum Modules for Android) \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\n\r\nThe Android NDK path was left blank.", "updateAuthor": { "name": "stuartjp", "key": "stuartjp", "displayName": "Stuart Porteous", "active": true, "timeZone": "Europe/Dublin" }, "created": "2012-12-29T19:07:41.000+0000", "updated": "2012-12-29T19:07:41.000+0000" }, { "id": "263330", "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-26T02:00:01.000+0000", "updated": "2013-07-26T02:00:01.000+0000" }, { "id": "264186", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run \"ti setup\" and run through the various screens. Since the command was essentially rewritten from the ground up, this specific bug is no longer applicable.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-07-31T17:29:18.000+0000", "updated": "2013-07-31T17:29:18.000+0000" }, { "id": "279730", "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 - Executed \"ti setup\" and followed the various screen. Did not observe any error or exception. Hence closing this issue.", "updateAuthor": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-15T07:25:39.000+0000", "updated": "2013-11-15T07:25:39.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }