{ "id": "136206", "key": "TIMOB-17636", "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" }, { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-20T17:32:25.000+0000", "created": "2014-09-08T03:55:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2015-03-24T20:26:12.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": "10207", "name": "Tooling" } ], "description": "h4. Problem\r\nCLI sdk setup fails if Titanium folder does not exist\r\n\r\nh4. Expectation\r\nCLI should create the Titanium folder in Application Support if it does not exist\r\n\r\n{code}\r\nWhere do you want to go? 7\r\n \r\n\r\n────────────────┤ Titanium SDK Settings ├─────────────────\r\n\r\nPath to find and install Titanium SDKs:\r\n[/Users/stephenfeather/Library/Application Support/Titanium]: \r\n[ERROR] Invalid directory\r\n\r\n{code}", "attachment": [ { "id": "53658", "filename": "Screen Shot 2015-01-16 at 10.40.44 AM.png", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-16T15:45:23.000+0000", "size": 58520, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: Should offer to create the Application Support/Titanium (or other user designated) folder if it does not exist.", "creator": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "environment": "{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 24.0GB\r\n\r\nNode.js\r\n Node.js Version = 0.10.31\r\n npm Version = 1.4.23\r\n\r\nTitanium CLI\r\n CLI Version = 3.4.0-beta\r\n node-appc Version = 0.2.14\r\n{code}", "closedSprints": [ { "id": 311, "state": "closed", "name": "2015 Sprint 02 Tooling", "startDate": "2015-01-17T02:00:00.000Z", "endDate": "2015-01-31T01:00:00.000Z", "completeDate": "2015-01-31T03:36:52.887Z", "originBoardId": 121 }, { "id": 363, "state": "closed", "name": "2015 Sprint 06 Tooling", "startDate": "2015-03-14T13:52:26.847Z", "endDate": "2015-03-28T00:00:00.000Z", "completeDate": "2015-03-30T16:43:13.950Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "322249", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Good find!", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-08T04:21:14.000+0000", "updated": "2014-09-08T04:21:14.000+0000" }, { "id": "322293", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Regression?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-08T16:58:03.000+0000", "updated": "2014-09-08T16:58:03.000+0000" }, { "id": "328332", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "@ingo, scenario I'd never tested, so cant say.", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-16T16:46:31.000+0000", "updated": "2014-10-16T16:46:42.000+0000" }, { "id": "328333", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Not a regression, just a bug. Super low hanging fruit.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-10-16T16:49:21.000+0000", "updated": "2014-10-16T16:49:21.000+0000" }, { "id": "339416", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "edit:\r\n\r\nSteps to reproduce:\r\n\r\n1. Rename ~/Library/Application Support/Titanium to Titanium_save\r\n2. Rename /Library/Application Support/Titanium to Titanium_save\r\n3. Run {{ti setup}} and choose option 7. I am then prompted for a \"Path to find and install Titanium SDKs\"\r\n4. Press Enter", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-16T15:45:02.000+0000", "updated": "2015-01-16T15:47:12.000+0000" }, { "id": "339496", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/titanium/pull/183\r\n\r\nFR: use the steps in the preceding comment, except that at step 4 the CLI should create the Titanium folder (so, no error)", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-16T20:52:57.000+0000", "updated": "2015-01-16T20:52:57.000+0000" }, { "id": "346651", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "4_0_X: https://github.com/appcelerator/titanium/pull/205", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-03-20T04:42:26.000+0000", "updated": "2015-03-20T04:42:26.000+0000" }, { "id": "347163", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.10.2\r\nTitanium SDK build: 4.0.0.v20150323131014\r\nTitanium CLI, build: 4.0.0-alpha\r\nAlloy: 1.6.0-alpha\r\n\r\nIf a Titanium folder is not present when ti setup->Titanium SDK Settings is run the folder gets created.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-03-24T20:26:04.000+0000", "updated": "2015-03-24T20:26:04.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }