{ "id": "108539", "key": "TIMOB-12422", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-27T01:00:28.000+0000", "created": "2013-01-25T00:59:29.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-port" ], "versions": [], "issuelinks": [ { "id": "25098", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "107824", "key": "TISTUD-3184", "fields": { "summary": "Run Test Launch configurations with \"test\" deploy-type", "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": "8", "description": "A technical task.", "name": "Technical task", "subtask": true } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:44:11.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": "13402", "name": "360", "description": "360 Project" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The deploy-type parameter is enabled for iOS, but it doesn't perform as expected. \r\n\r\nSteps:\r\n1. Create titanium project\r\n2. Add ti.cloud module\r\n3. Update the app.js with the following code: \r\n{code}var module = require('ti.cloud');{code}\r\n4. Set deploy-type in the tiapp.xml for ti.cloud to be \"development\"\r\n5. Perform a build using deploy-type=\"test\"\r\n{code}/usr/local/bin/titanium --no-colors --no-prompt build --platform ipad --sdk 3.1.0.v20121220122601 --log-level info --target simulator --ios-version 5.1 --device-family ipad --deploy-type development --debug-host 10.0.14.194:62565{code}\r\n\r\nExpected results:\r\nApp launch should fail because the ti.cloud module was not loaded since it wasn't present\r\n\r\nActual results:\r\nti.cloud module is present, app loads", "attachment": [], "flagged": false, "summary": "iOS build using deploy-type parameter does not exclude/include modules", "creator": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nle", "key": "nle", "displayName": "Nam Le", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "236082", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "node-appc master pull request: https://github.com/appcelerator/node-appc/pull/25", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T00:59:19.000+0000", "updated": "2013-01-26T00:59:19.000+0000" }, { "id": "236102", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test, in the tiapp.xml, include ti.cloud for deploy-type test:\n\n{code}\n\n ti.cloud\n\n{code}\n\nRequire ti.cloud in app.js:\n\n{code}\nconsole.log(require('ti.cloud'));\n{code}\n\nBuild for simulator and deploy-type test:\n\n{code}\ntitanium build -p ios\n{code}\n\nThe build will succeed and app will run and it will print ti.cloud, however that's WRONG! It should error saying it can't find ti.cloud for deploy-type development.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T02:14:27.000+0000", "updated": "2013-01-26T02:14:27.000+0000" }, { "id": "236410", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Result came as expected.\r\nError occurred as \r\n'[ERROR] Script Error = Couldn't find module: ti.cloud. ' on the terminal\r\nApplication got the error as Couldn't find module: ti.cloud and fails\r\n\r\nVerified on:\r\nSDK version: 3.0.2.v20130126230207\r\nCLI version : 3.0.24\r\nOS : MAC OSX 10.7.5\r\nXCode : 4.5.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-01-29T11:16:47.000+0000", "updated": "2013-01-29T11:16:47.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }