{ "id": "121788", "key": "TIMOB-15608", "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": "15707", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "id": "15709", "description": "2013 Sprint 23 Core", "name": "2013 Sprint 23 Core", "archived": true, "released": true, "releaseDate": "2013-11-15" }, { "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-15T07:47:11.000+0000", "created": "2013-10-29T18:29:21.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.2.0", "qe-cli", "qe-closed-3.2.0", "qe-manualtest" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [ { "id": "38682", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "132321", "key": "TIMOB-17227", "fields": { "summary": "CLI: Passing empty option value, building the project returns Error", "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 } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-08-15T07:47:11.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When building for iOS device and not using the provisioning profile uuid and the iOS Developer Certificate (e.g. ti build -p iOS -T device), the error is\r\n{code}\r\n[ERROR] Missing required option \"--developer-name\"\r\n\r\n[ERROR] Missing required option \"--pp-uuid\"\r\n{code} \r\n\r\nPassing empty values (ti build -p ios -T device --developer-name --pp-uuid)\r\nresults in a different error. See the attached log.\r\n\r\nh5.Expected result\r\nSame error message?", "attachment": [ { "id": "43702", "filename": "log.txt", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T00:04:27.000+0000", "size": 3378, "mimeType": "text/plain" } ], "flagged": false, "summary": "CLI: Passing empty values in to iOS build options returns an error", "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": "CLI git://github.com/appcelerator/titanium.git\r\nTitanium SDK, build 3.2.0.v20131028222444\r\nXcode 5.0.1", "comment": { "comments": [ { "id": "277227", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium/pull/64", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-29T20:03:07.000+0000", "updated": "2013-10-29T20:03:07.000+0000" }, { "id": "277229", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, run a command that has a required option with prompting disabled:\n\n{code}\nti build -p ios -T device --no-prompt\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-29T20:04:11.000+0000", "updated": "2013-10-29T20:04:11.000+0000" }, { "id": "278315", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] \r\n\r\n{code}\r\ncli.prompt = true\r\n{code}\r\n\r\n{code}\r\n ti build -p ios -T device --no-prompt\r\n\r\n\r\n[ERROR] Missing required option: --developer-name \r\n\r\n[ERROR] Missing required option: --pp-uuid \r\n\r\nFor help, run: titanium help build\r\n\r\n{code}\r\n\r\n\r\n{code}\r\n ti build -p ios -T device --developer-name --pp-uuid\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: Object true has no method 'toLowerCase'\r\n at callback.options.developer-name.validate (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/iphone/cli/commands/_build.js:417:43)\r\n at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:608:14)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:224:13\r\n at iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:131:13)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:142:25\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:226:17\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:553:34\r\n at CLI. (/usr/local/lib/node_modules/titanium/lib/cli.js:636:9)\r\n at /usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:548:21\r\n---------------------------------------------\r\n at run (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/node-appc/lib/subprocess.js:57:8)\r\n at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/iphone/cli/lib/detect.js:369:9\r\n at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/async/lib/async.js:508:21\r\n at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/async/lib/async.js:224:13\r\n at /Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/async/lib/async.js:108:13\r\n at Array.forEach (native)\r\n at _each (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/async/lib/async.js:32:24)\r\n at async.each (/Users/oromero/Library/Application Support/Titanium/mobilesdk/osx/3.2.0.v20131105094044/node_modules/async/lib/async.js:107:9) \r\n\r\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T00:11:27.000+0000", "updated": "2013-11-06T00:17:21.000+0000" }, { "id": "278346", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium/pull/70", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-11-06T01:38:53.000+0000", "updated": "2013-11-06T01:38:53.000+0000" }, { "id": "278740", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested and verified fixed with:\nCLI 3.2.0 git://github.com/appcelerator/titanium\nTitanium SDK, build: 3.2.0.v20131107143248\n\n\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-07T23:55:37.000+0000", "updated": "2013-11-07T23:55:37.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }