{ "id": "108506", "key": "TIMOB-12417", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-03T17:34:53.000+0000", "created": "2013-01-24T20:07:21.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ft" ], "versions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [ { "id": "29363", "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 } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2014-09-15T05:42:51.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": "h3. Problem\r\nUser might encounter issues when having to specify a project folder Url with spaces, during the project creation\r\n\r\nh3. Steps to reproduce\r\n. Delete the default app.workspace (ti config -r app.workspace)\r\n. Run 'ti create'\r\nWhen the user is prompted to enter the project folder, the following error happens depending on the input (assuming the target folder is /Users/fcasali/development/project test/\r\n\r\n{code}\r\n// default Url displayed when dragging the folder from Finder into Mac OS X terminal\r\n/Users/fcasali/development/project\\ test/\r\n[ERROR] Specified directory does not exist\r\n\r\n\r\n// default Url displayed when dragging the folder from File Manager (Explorer or Nautilus) to terminal in Windows or Linux machines\r\n'/Users/fcasali/development/project test/'\r\n[ERROR] Specified directory does not exist\r\n{code}\r\n\r\n\r\nAlso using those Urls it fails:\r\n{code}\r\n'/Users/fcasali/development/project\\ test/'\r\n[ERROR] Specified directory does not exist\r\n\r\n'/Users/fcasali/development/project test'\r\n[ERROR] Specified directory does not exist\r\n\r\n{code}\r\n\r\nProject is created in the right folder when manually typing (no \\ and no quotes):\r\n{code}\r\n/Users/fcasali/development/project test/\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: wrong behavior when having to specify a project folder including spaces", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.0.X\r\nCLI version 3.0.23", "comment": { "comments": [ { "id": "302776", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Out of bandwidth for 3.3.0. Bumping to next version.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-04-28T19:55:35.000+0000", "updated": "2014-04-28T19:55:35.000+0000" }, { "id": "318131", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is actually an issue with the \"fields\" module, a dependency of our project. There is already a ticket against that project--we should try and submit a PR for the fix.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-12T03:47:15.000+0000", "updated": "2014-08-12T03:47:15.000+0000" }, { "id": "319761", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR for fields module https://github.com/cb1kenobi/fields/pull/5", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-21T19:20:11.000+0000", "updated": "2014-08-21T19:20:11.000+0000" }, { "id": "319970", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/5982\r\n\r\nFunctional review steps:\r\n\r\n1. Re-install titanium with {{sudo npm install -g titanium}} to update its dependency on the fields module. You should see fields version 0.1.13 or newer as the version installed.\r\n2. Delete the default app.workspace {{ti config -r app.workspace}}\r\n3. Create a new project {{ti create}} and when prompted for the directory in which to create the project, drag a folder from Finder that includes spaces in its name or the name of one of its parents' folders. Finish the creation wizard.\r\n\r\nThe resulting project should be created in the folder you specified. The script should not create a folder whose name contains literal \\ characters.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-22T20:00:14.000+0000", "updated": "2014-08-22T20:00:14.000+0000" }, { "id": "319972", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Reopening for review", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-22T20:01:44.000+0000", "updated": "2014-08-22T20:01:44.000+0000" }, { "id": "320585", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR updated per comment on the pull", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-27T16:04:37.000+0000", "updated": "2014-08-27T16:04:37.000+0000" }, { "id": "323581", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with test environment:\r\n\r\nAppcelerator Studio:3.4.0.201409131030\r\nSdk:3.4.0.v20140913174915\r\nalloy:1.5.0-rc2\r\ntitanium:3.4.0-rc3\r\ntitanium-code-processor:1.1.1\r\nacs:1.0.16\r\nnpm:1.3.2\r\nOS:Maverick(10.9.4)\r\nxcode: Xcode6GMSeed \r\n\r\nProject successfully created when Directory to place project contains space in its folder name.\r\nWorking fine.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-15T05:42:51.000+0000", "updated": "2014-09-15T05:42:51.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }