{ "id": "135259", "key": "TIMOB-17545", "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" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-19T03:25:27.000+0000", "created": "2014-08-25T16:18:39.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [ { "id": "40275", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "131082", "key": "TIMOB-17048", "fields": { "summary": "Build error if Map module in app build with TiSDK prior to 3.3.0", "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 } } } }, { "id": "47355", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "147088", "key": "MOD-2119", "fields": { "summary": "3.x SDK projects use incompatible 4.0 Facebook module", "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 } } } }, { "id": "40190", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131082", "key": "TIMOB-17048", "fields": { "summary": "Build error if Map module in app build with TiSDK prior to 3.3.0", "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": "2015-04-21T00:04:25.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": "h2. Description\r\n\r\nWhen adding a module to a project, the list of available versions shows only the ones compatible with the chosen SDK. For example, ti.cloudpush 3.3.0 will not show up if the SDK chosen is 3.2.3.\r\n\r\nThe issue is when chosing the [latest] option: in that case, the system is using the latest version, and the build fails because ti.cloudpush 3.3.0 is not compatible with SDK 3.2.3", "attachment": [], "flagged": false, "summary": "CLI: Choosing the latest version of a module does not pick the latest compatible one", "creator": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 214, "state": "closed", "name": "2014 Sprint 19 Tooling", "startDate": "2014-09-15T20:19:33.669Z", "endDate": "2014-09-27T00:00:00.000Z", "completeDate": "2014-09-29T14:02:07.744Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "320142", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The suggestion to fix this is the following:\r\n\r\n* cloudpush 3.3.0 has a minimum version of Titanium SDK 3.3.0\r\n* cloudpush 3.2.1 has a minimum version of Titanium SDK 3.2.0\r\n\r\nWhen picking 3.2.3 SDK, and choosing \"latest\", we need to find the module that still has a compatible SDK match. In this case, 3.3.0 cloudpush requires 3.3.0 SDK, so we pick an earlier module, in this case 3.2.1", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-25T17:23:02.000+0000", "updated": "2014-08-25T17:23:02.000+0000" }, { "id": "320604", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of TIMOB-17048", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-27T17:04:50.000+0000", "updated": "2014-08-27T17:04:50.000+0000" }, { "id": "322204", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This was not a duplicate any more. This still needs to be addressed.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-06T13:50:23.000+0000", "updated": "2014-09-06T13:50:23.000+0000" }, { "id": "324097", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/6107\r\n3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6108\r\n\r\nTo test, create an app, enable the {{ti.map}} module and put this in the tiapp.xml:\r\n\r\n{code}\r\n\r\n ti.map\r\n\r\n{code}\r\n\r\nNow, build it for iOS: {{ti build -p ios --build-only}}\r\n\r\nSay you have 2.0.1 and 2.0.2 installed, then it will pick 2.0.2. If you go to the 2.0.2 folder, edit the manifest and change the minsdk to \"3.6.0.GA\", then it will pick 2.0.1 instead of erroring out.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-09-16T23:02:42.000+0000", "updated": "2014-09-16T23:02:57.000+0000" }, { "id": "324749", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build:3.4.0.201409161950\r\nTitanium SDK build: 33.4.0.v20140918202513\r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc2 \r\nXcode6.0.1\r\n\r\nAdded the ti.map module and when I built originally the included ti.map module was 2.0.3, changed the minsdk to 3.6.0.GA and then the rebuilt, this time the included t.map was 2.0.2 and there were no errors.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-19T17:23:21.000+0000", "updated": "2014-09-19T17:23:21.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }