{
"id": "87824",
"key": "TIMOB-7973",
"fields": {
"issuetype": {
"id": "2",
"description": "A new feature of the product, which has yet to be developed.",
"name": "New Feature",
"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": "12593",
"name": "Release 2.0.0",
"archived": false,
"released": true,
"releaseDate": "2012-03-30"
},
{
"id": "13170",
"name": "Sprint 2012-06",
"archived": true,
"released": true,
"releaseDate": "2012-03-25"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2012-03-14T07:58:53.000+0000",
"created": "2012-03-13T10:32:41.000+0000",
"priority": {
"name": "High",
"id": "2"
},
"labels": [],
"versions": [],
"issuelinks": [
{
"id": "21163",
"type": {
"id": "10001",
"name": "Cloners",
"inward": "is cloned into",
"outward": "is cloned from"
},
"inwardIssue": {
"id": "101670",
"key": "TIMOB-11041",
"fields": {
"summary": "MobileWeb: Default to Latest Version of a 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": "2",
"description": "A new feature of the product, which has yet to be developed.",
"name": "New Feature",
"subtask": false
}
}
}
},
{
"id": "21010",
"type": {
"id": "10003",
"name": "Relates",
"inward": "relates to",
"outward": "relates to"
},
"inwardIssue": {
"id": "101225",
"key": "TISTUD-2276",
"fields": {
"summary": "Support adding modules with no version specified",
"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": "7",
"description": "gh.issue.story.desc",
"name": "Story",
"subtask": false
}
}
}
}
],
"assignee": {
"name": "mculpepper",
"key": "mculpepper",
"displayName": "Marshall Culpepper",
"active": true,
"timeZone": "America/Los_Angeles"
},
"updated": "2017-03-06T18:20:46.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": "10207",
"name": "Tooling"
}
],
"description": "h1. Feature\r\nIf two versions of a module are available, and a tiapp.xml doesn't specify a version, the latest version should be chosen.\r\n\r\nh2. Current Behavior\r\nRight now the tooling sorts modules alphabetically, so the earliest version of a module will be used rather than the most recent.\r\n\r\nh2. Test\r\nUnzip the attached modules.zip in to your /Library/Application\\ Support/Titanium/ directory, then:\r\n{code:title=tiapp.xml}\r\n \r\n \tti.cloud\r\n \r\n{code}\r\nand\r\n{code:title=app.js}\r\nrequire('ti.cloud').hi();\r\n{code}\r\nIt will alert the version of the module in use. You can also predict which module will be used based on the output of iphone/builder.py:\r\n{quote}\r\n[DEBUG] Detecting modules in /Volumes/Code/play/modules\r\n[DEBUG] Detecting modules in /Library/Application Support/Titanium/modules\r\n[DEBUG] Detected module for commonjs: ti.cloud 2.0 @ /Library/Application Support/Titanium/modules/commonjs/ti.cloud/2.0\r\n[DEBUG] Detected module for commonjs: ti.cloud 2.1 @ /Library/Application Support/Titanium/modules/commonjs/ti.cloud/2.1\r\n[DEBUG] Looking for Titanium Module id: ti.cloud, version: , platform: \r\n{quote}\r\n\r\nThe order in which the modules are detected are the order in which they will be used if no version is specified.\r\n\r\nh2. Pull Request\r\nhttps://github.com/appcelerator/titanium_mobile/pull/1650",
"attachment": [
{
"id": "26159",
"filename": "modules.zip",
"author": {
"name": "dtoth",
"key": "dtoth",
"displayName": "Dawson Toth",
"active": true,
"timeZone": "America/New_York"
},
"created": "2012-03-13T10:32:41.000+0000",
"size": 316742,
"mimeType": "application/zip"
}
],
"flagged": false,
"summary": "Modules: Default to Latest Version of a Module",
"creator": {
"name": "dtoth",
"key": "dtoth",
"displayName": "Dawson Toth",
"active": true,
"timeZone": "America/New_York"
},
"subtasks": [],
"reporter": {
"name": "dtoth",
"key": "dtoth",
"displayName": "Dawson Toth",
"active": true,
"timeZone": "America/New_York"
},
"environment": null,
"comment": {
"comments": [
{
"id": "186333",
"author": {
"name": "ngupta",
"key": "ngupta",
"displayName": "Neeraj Gupta",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "We need this PR for ACS module.",
"updateAuthor": {
"name": "ngupta",
"key": "ngupta",
"displayName": "Neeraj Gupta",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2012-03-13T15:43:34.000+0000",
"updated": "2012-03-13T15:43:34.000+0000"
},
{
"id": "186356",
"author": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"body": "Mobile web supports this. :)",
"updateAuthor": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2012-03-13T16:56:08.000+0000",
"updated": "2012-03-13T16:56:08.000+0000"
},
{
"id": "186395",
"author": {
"name": "dtoth",
"key": "dtoth",
"displayName": "Dawson Toth",
"active": true,
"timeZone": "America/New_York"
},
"body": "Yeah, I saw that when I was doing the PR. Great foresight, Chris!",
"updateAuthor": {
"name": "dtoth",
"key": "dtoth",
"displayName": "Dawson Toth",
"active": true,
"timeZone": "America/New_York"
},
"created": "2012-03-14T06:53:45.000+0000",
"updated": "2012-03-14T06:53:45.000+0000"
},
{
"id": "409340",
"author": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Closing ticket due to time passed.",
"updateAuthor": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2017-03-06T18:20:46.000+0000",
"updated": "2017-03-06T18:20:46.000+0000"
}
],
"maxResults": 4,
"total": 4,
"startAt": 0
}
}
}