{ "id": "126045", "key": "TIMOB-16416", "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": "15922", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15924", "description": "2014 Sprint 03 Core", "name": "2014 Sprint 03 Core", "archived": true, "released": true, "releaseDate": "2014-02-14" }, { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "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": "2014-02-07T01:00:09.000+0000", "created": "2014-02-06T22:13:06.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_CLI", "qe-3.2.1", "qe-testadded" ], "versions": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [ { "id": "34953", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "126046", "key": "TIMOB-16417", "fields": { "summary": "CLI: Build - If you have 3.2.0 CLI with 3.2.1 SDK selected in CLI and in tiapp.xml, then \"Invalid platform \"undefined\"\" message is returned ", "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": "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-06-19T12:44:42.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": "h5. Description:\r\nWhen using CLI 3.2.0 and trying to build with SDK 3.2.1, an error is produced since the min SDK in the CLI commands has not been updated to 3.2.1.\r\n\r\nh5. Steps to reproduce:\r\n1) Install CLI 3.2.0\r\n2) Install SDK 3.2.1\r\n3) Using an existing project, try running a build, such as \"ti build -p android\"\r\n\r\nh5. Result:\r\nObscure and unrelated error produced since the min SDK versions in the CLI commands are not accurate and are still \"3.2\"\r\n\r\nh5. Expected Result:\r\nAn error describing the incompatibility between the CLI and the SDK versions", "attachment": [], "flagged": false, "summary": "Update the SDK commands for build, clean, create and project to have correct min CLI version for 3.2.1", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.8.5\r\nXcode 5.0.2\r\nCLI: 3.2.01-beta3\r\nAlloy: 1.3.1-cr2\r\nTitanium SDK version 3.2.1.v20140205094854 ", "comment": { "comments": [ { "id": "291790", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5334\n3_2_X pull request: https://github.com/appcelerator/titanium_mobile/pull/5335\n3_2_X_hybrid pull request: https://github.com/appcelerator/titanium_mobile/pull/5336", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-02-06T22:18:26.000+0000", "updated": "2014-02-06T22:18:26.000+0000" }, { "id": "292172", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as conditionally fixed. Was only able to verify the min *cliVersion* is set to 3.2.1. Checked in SDK/cli/commands/build.js, SDK/cli/commands/clean.js, SDK/cli/commands/create.js, and SDK/cli/commands/project.js.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.2.1.201402061120\r\nSDK build: 3.2.1.v20140206170116\r\nCLI: 3.2.1-beta5\r\nAlloy: 1.3.1-cr3", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-02-10T17:54:34.000+0000", "updated": "2014-02-10T18:17:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }