{ "id": "137368", "key": "TIMOB-17808", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "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": "2014-09-30T14:02:30.000+0000", "created": "2014-09-29T22:35:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "issuelinks": [ { "id": "41878", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "137535", "key": "TIMOB-17811", "fields": { "summary": "CLI: Check for iPhone platform in tisdk3fixes.js breaks Windows environment", "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-11-21T18:41:00.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": "When using Titanium CLI 3.4.0 on Windows or Linux and having a selected SDK or specifying {{\\-\\-sdk}} of 3.3.0.GA or older will cause all Titanium CLI commands to crash:\r\n\r\n{code}\r\nC:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\longjohn\\dist\\longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Cannot read property 'path' of undefined\r\n at removeXcode6 (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\hooks\\tisdk3fixes.js:75:54)\r\n at C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\hooks\\tisdk3fixes.js:115:4\r\n at C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\hook.js:235:13\r\n at C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:551:21\r\n at C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:227:13\r\n at iterate (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:134:13)\r\n at async.eachSeries (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:150:9)\r\n at _asyncMap (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:226:9)\r\n at Object.mapSeries (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:216:23)\r\n at async.series (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:549:19)\r\n---------------------------------------------\r\n at async.setImmediate (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:96:15)\r\n at C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:696:21\r\n at Array.forEach (native)\r\n at _each (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:32:24)\r\n at _insert (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:681:11)\r\n at q.push (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:708:15)\r\n at Object.findExecutable (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\node_modules\\node-appc\\lib\\subprocess.js:113:8)\r\n at resolveNode (C:\\Users\\Thomas Anderson\\AppData\\Roaming\\npm\\node_modules\\titanium\\lib\\titanium.js:97:34)\r\n{code}\r\n\r\nTo reproduce, install Titanium CLI 3.4.0 on Windows or Linux, then run {{ti info \\-\\-sdk 3.3.0.GA}}.", "attachment": [], "flagged": false, "summary": "CLI: All commands fail when Titanium SDK 3.3.0 or older is the selected SDK", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": "Titanium CLI 3.4.0\r\nWindows and Linux", "closedSprints": [ { "id": 229, "state": "closed", "name": "2014 Sprint 20 Tooling", "startDate": "2014-09-29T22:38:08.198Z", "endDate": "2014-10-13T23:19:00.000Z", "completeDate": "2014-10-13T23:19:33.306Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "326221", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master: https://github.com/appcelerator/titanium/pull/163\r\n3_4_X: https://github.com/appcelerator/titanium/pull/164", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-29T22:45:50.000+0000", "updated": "2014-09-29T22:45:50.000+0000" }, { "id": "326330", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Works as expected. PRs merged.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-30T14:02:30.000+0000", "updated": "2014-09-30T14:02:30.000+0000" }, { "id": "326966", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nWindows 8.1, Ubuntu 14.04\r\nAppcelerator Studio, build: 3.4.0.201409261245\r\nTitanium SDK build: 3.5.0.v20141003114918, 3.3.0.GA\r\nTitanium CLI, build: 3.5.0-dev\r\nAlloy: 1.5.1\r\n\r\nRan the command ti info --sdk 3.3.0.GA on both systems and there was no error either time.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-10-03T23:22:24.000+0000", "updated": "2014-10-03T23:22:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }