{ "id": "126973", "key": "TIMOB-16520", "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": "16270", "description": "2014 Sprint 10", "name": "2014 Sprint 10", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "id": "16272", "description": "2014 Sprint 10 Tooling", "name": "2014 Sprint 10 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-22" }, { "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": "2014-05-23T20:56:33.000+0000", "created": "2014-02-28T21:26:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "module_cli", "qe-3.2.2", "qe-testadded", "regression" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" } ], "issuelinks": [ { "id": "35490", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "126984", "key": "TIMOB-16522", "fields": { "summary": "CLI: error building targeting dist-adhoc when provisioning profile uuid (-P) value is not passed", "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-05-23T20:56: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": [], "description": "*regression*\r\nno issue in 3.2.1.GA\r\n\r\n\r\n\r\nh5.To reproduce\r\n1. Run ti build -p ios -T device -K \r\nor \r\nti build -p ios -T dist-adhoc -K\r\n2. Enter provisioning profile, which is prompted\r\nh5.Actual result\r\n{code}\r\nSelect a provisioning profile UUID by number or name: 1\r\n \r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nTypeError: Arguments to path.join must be strings\r\n at path.js:360:15\r\n at Array.filter (native)\r\n at exports.join (path.js:358:36)\r\n at exports.resolvePath (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/node_modules/node-appc/lib/fs.js:52:20)\r\n at iOSBuilder.validate (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/iphone/cli/commands/_build.js:966:42)\r\n at exports.validatePlatformOptions (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/node_modules/titanium-sdk/lib/titanium.js:615:69)\r\n at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.2.v20140221161255/cli/commands/build.js:192:19\r\n at callCommandValidate (/usr/local/lib/node_modules/titanium/lib/cli.js:848:7)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:551:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:227:13\r\n\r\n{code}\r\n\r\nh5.Expected result\r\n{code}\r\nSelect a provisioning profile UUID by number or name: 1\r\n \r\n[ERROR] Unable to find keychain \"/Users/oromero/Documents/Appcelerator_Studio_Workspace22/ola.q/true\"\r\n\r\nAvailable keychains:\r\n /Users/oromero/Library/Keychains/login.keychain\r\n /Library/Keychains/System.keychain\r\n{code}\r\n\r\nand project builds successfully\r\n\r\n\r\n*NOTE* \r\nCommands, returning same error:\r\n\r\nti build -d", "attachment": [], "flagged": false, "summary": "CLI: error when titanium build compiles a project, passing empty argument ", "creator": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.2.1.201402061120\r\nTitanium SDK, build: 3.2.2.v20140221161255\r\nXcode 5.1b5\r\nNode.JS Version: v0.10.13\r\nNPM Version: 1.3.2\r\n├── acs@1.0.12\r\n├── alloy@1.3.1\r\n├── npm@1.3.2\r\n├── titanium@3.2.1\r\n└── titanium-code-processor@1.1.0", "closedSprints": [ { "id": 107, "state": "closed", "name": "2014 Sprint 10 Tooling", "startDate": "2014-05-12T16:00:00.000Z", "endDate": "2014-05-24T00:00:00.000Z", "completeDate": "2014-05-27T18:11:27.256Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "305194", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/5687", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-15T21:58:15.000+0000", "updated": "2014-05-15T21:58:15.000+0000" }, { "id": "305325", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Works as expected.\r\n", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-16T18:38:35.000+0000", "updated": "2014-05-16T18:38:35.000+0000" }, { "id": "305559", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405161313\r\nTitanium SDK, build: 3.3.0.v20140516180912\r\nTitanium CLI, build: 3.3.0-dev\r\nAlloy: 1.4.0-alpha\r\n\r\nPassing in empty argument does not result in an error.\r\nUsed test code snippet provided in description, project built successfully.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T18:24:08.000+0000", "updated": "2014-05-19T18:24:08.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }