{ "id": "124022", "key": "TIMOB-16052", "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": "16096", "description": "2014 Sprint 09", "name": "2014 Sprint 09", "archived": true, "released": true, "releaseDate": "2014-05-08" }, { "id": "16098", "description": "2014 Sprint 09 Tooling", "name": "2014 Sprint 09 Tooling", "archived": true, "released": true, "releaseDate": "2014-05-08" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-04-13T16:27:43.000+0000", "created": "2013-12-19T14:43:11.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "module_cli", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-04-13T16:27:49.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" } ], "attachment": [], "flagged": false, "summary": "CLI: \"Invalid Version: 3.2.0 copy\"", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.9.1\r\nCLI 3.2.0-cr3\r\n", "comment": { "comments": [ { "id": "285216", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Good find.\n\nFor the record, the name of the directory containing the Titanium SDK *IS* the SDK's version number, not the number in the manifest.json. I hope to change that someday. In the meantime, the folder must be in the format \"X.Y.Z\" or \"X.Y.Z.whatever\" and possibly \"X.Y.Z-whatever\", but I don't recall.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-19T18:53:51.000+0000", "updated": "2013-12-19T18:53:51.000+0000" }, { "id": "287193", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "I had the same problem, but with an older version of a module that I was using but in a different path -- it had underscores before the version number (__1.9.0)\r\n\r\nOLD VERSION (THAT I DIDN'T USE):\r\n/Library/Application Support/Titanium/modules/iphone/com.mymodule/__1.9.0\r\n\r\nNEWEVER VERSION INCLUDED IN TIAPP.XML:\r\n\r\n/workspace/myApp/modules/com.mymodule/3.3.0\r\n\r\n\r\nI just ended up removing the older version of the module, but it's still weird why that happened.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-08T10:32:31.000+0000", "updated": "2014-01-08T10:32:59.000+0000" }, { "id": "301525", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium CLI master pull request: https://github.com/appcelerator/titanium/pull/130\nTitanium SDK master pull request: https://github.com/appcelerator/titanium_mobile/pull/5630\n\nTo test:\n\n1) Apply the changes to the CLI\n2) Do a \"master\" branch build of the TiSDK (currently 3.3.0)\n3) Install the 3.3.0 SDK (for Mac OS X, in ~/Library/Application Support/Titanium/osx)\n4) Inside the SDK installation folder, rename the \"3.3.0\" folder to \"foo\"\n5) Copy the \"foo\" folder to \"bar\"\n\nFirst test Titanium CLI commands:\n\n6) ti sdk\n7) ti sdk select\n8) ti sdk select foo\n9) ti sdk select bar\n10) ti setup\n11) ti setup quick\n12) ti setup sdk\n13) ti info\n14) ti info -t titanium\n15) ti info -t titanium -o json\n\nNow the SDK-level commands:\n\n16) ti sdk select foo\n17) ti create --name baz\n18) cd baz\n19) ti project\n20) ti project sdk-version\n21) ti build -p ios\n22) build -p android\n23) ti sdk select bar\n24) ti build -p ios\n25) ti build -p android", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-04-19T00:37:08.000+0000", "updated": "2014-04-19T00:37:08.000+0000" }, { "id": "301912", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-04-21T17:36:48.000+0000", "updated": "2014-04-21T17:36:48.000+0000" }, { "id": "304150", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Fixed and ready for re-review.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-05-09T05:40:12.000+0000", "updated": "2014-05-09T05:40:12.000+0000" }, { "id": "304214", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This fails for me in two places:\r\n\r\n1. Under \"First test Titanium CLI commands:\" step 10, within Titanium Setup, if I choose Check Environment, I get the following error:\r\n\r\n{code}\r\nTitanium SDK\r\n - latest sdk unknown (offline)\r\n\r\n/Users/tpoulsen/repos/titanium_appcelerator/node_modules/longjohn/dist/longjohn.js:185\r\n throw e;\r\n ^\r\nTypeError: Invalid Version: bar.0.0\r\n at new SemVer (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/node-appc/node_modules/semver/semver.js:271:11)\r\n at compare (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/node-appc/node_modules/semver/semver.js:424:10)\r\n at Function.gte (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/node-appc/node_modules/semver/semver.js:473:10)\r\n at Object.gte (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/node-appc/lib/version.js:90:16)\r\n at /Users/tpoulsen/repos/titanium_appcelerator/lib/commands/setup.js:799:24\r\n at /Users/tpoulsen/repos/titanium_appcelerator/lib/commands/setup.js:815:5\r\n at /Users/tpoulsen/repos/titanium_appcelerator/node_modules/async/lib/async.js:533:17\r\n at /Users/tpoulsen/repos/titanium_appcelerator/node_modules/async/lib/async.js:119:25\r\n at /Users/tpoulsen/repos/titanium_appcelerator/node_modules/async/lib/async.js:24:16\r\n at /Users/tpoulsen/repos/titanium_appcelerator/node_modules/async/lib/async.js:530:21\r\n---------------------------------------------\r\n at Request.init (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/request/request.js:132:10)\r\n at new Request (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/request/request.js:105:8)\r\n at request (/Users/tpoulsen/repos/titanium_appcelerator/node_modules/request/index.js:53:11)\r\n at /Users/tpoulsen/repos/titanium_appcelerator/lib/commands/setup.js:681:6\r\n at /Users/tpoulsen/repos/titanium_appcelerator/node_modules/node-appc/lib/net.js:124:3\r\n at asyncCallback (dns.js:68:16)\r\n at onanswer (dns.js:147:9)\r\n{code}\r\n\r\n", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-09T15:22:06.000+0000", "updated": "2014-05-09T16:31:31.000+0000" }, { "id": "304258", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "All steps work as described", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-09T20:38:21.000+0000", "updated": "2014-05-09T20:38:21.000+0000" }, { "id": "305231", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\r\nMac OSX 10.9.3\r\nAppcelerator Studio, build: 3.3.0.201405121247\r\nTitanium SDK, build: 3.3.0.v20140515133312\r\nTitanium CLI, build: 3.3.0-dev\r\nAlloy: 1.4.0-alpha\r\n\r\nUsed test steps provided by [~cbarber] and all worked as expected.\r\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T01:35:20.000+0000", "updated": "2014-05-16T01:35:20.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }