{ "id": "135948", "key": "TIMOB-17581", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-06T21:14:17.000+0000", "created": "2014-09-01T11:13:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.4.0" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "45778", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "144376", "key": "TIDOC-2120", "fields": { "summary": "Guides: CLI reference, option is platforms but listed as platform", "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": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-03-12T18:56:45.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\nRunning \"ti create\" prompts the user to pick a platform for the project.\r\nRunning \"ti create --platforms\" skips that step and prompts for the Project name.\r\n\r\nThe issue is reproducible with CLI 3.3.0.\r\nSTEPS TO REPRODUCE\r\n1. Open a terminal window\r\n2. Run 'ti create --platforms'\r\n3. Type in a valid Project name and all prompted values\r\n\r\nEXPECTED RESULT\r\nThe CLI should notice the missing parameters for the platform and ask for a valid input.\r\n\r\nACTUAL RESULT\r\nCLI creates the project successfully for non of the platforms.\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: Running \"ti create --platforms\" does not prompt for the target platform to be used and creates the project successfully.", "creator": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "subtasks": [], "reporter": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "environment": "Tested on: \r\n1. Mac OSX 10.9.4 \r\n2. Appcelerator Studio, build: 3.4.0.201408291834 \r\n3. Titanium SDK, build: 3.4.0.v20140829184521\r\n4. Titanium CLI, build: 3.4.0-dev \r\n5. Alloy: 1.5.0-dev\r\n6. Xcode 6 beta 6\r\n", "closedSprints": [ { "id": 339, "state": "closed", "name": "2015 Sprint 04 Tooling", "startDate": "2015-02-14T02:34:21.061Z", "endDate": "2015-02-28T02:34:00.000Z", "completeDate": "2015-02-28T15:51:32.596Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "321247", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "http://docs.appcelerator.com/titanium/3.0/#!/guide/Titanium_Command-Line_Interface_Reference\r\n\r\n\"--platforms\" is not a valid option. It is \"--platform.\" Is the bug that it should error out using an invalid option? Or that it should just ignore that invalid option and instead prompt your for the platforms? ", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-01T17:45:24.000+0000", "updated": "2014-09-01T17:45:24.000+0000" }, { "id": "321287", "author": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "body": "With CLI, \"ti create -h\" command is showing '--platforms' as a valid option.\r\nI discussed with [~fmiao] and came to know that documentation needs to be corrected.\r\n\r\nSo \"ti create --platforms\" is a valid command.\r\nIt should prompt the user for the platforms.\r\n\r\n", "updateAuthor": { "name": "kagrawal", "key": "kagrawal", "displayName": "Khushbu Agrawal", "active": true, "timeZone": "Asia/Shanghai" }, "created": "2014-09-02T06:44:21.000+0000", "updated": "2014-09-02T06:44:21.000+0000" }, { "id": "335964", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-12-11T04:59:15.000+0000", "updated": "2014-12-17T00:25:53.000+0000" }, { "id": "342462", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "CR & FR passed, merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-06T21:14:17.000+0000", "updated": "2015-02-06T21:14:17.000+0000" }, { "id": "345870", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nTitanium SDK 4.0.0.v20150312092612\r\nStudio 4.0.0.201503062102\r\nCLI 3.4.2\r\nNode 0.12\r\n\r\nti create --platforms correctly shows error message and prompts for platforms.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-12T18:56:45.000+0000", "updated": "2015-03-12T18:56:45.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }