{ "id": "98854", "key": "TIMOB-10340", "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": "15117", "description": "2013 Sprint 12 BB", "name": "2013 Sprint 12 BB", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-03T23:00:49.000+0000", "created": "2012-08-08T07:33:05.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-19T12:43:50.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "When trying to include several files separated by comma (as in KS example Titanium.include('/etc/my_js_include.js', '/etc/my_js_include_2.js', '/etc/local_include.js'); )only the first file is included.\r\nAll files should be included\r\n\r\nh3. Test Case\r\n{code:javascript}\r\nTi.include('a.js', 'b.js');\r\n{code}\r\n\r\nPlace the following JavaScript into app.js and also create files a.js and b.js.\r\nPut some logs into a.js and b.js to verify they are both executed.\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry: Titanium.include() method bug", "creator": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "hzakaryan", "key": "hzakaryan", "displayName": "Hayk Zakaryan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "BlackBerry simulator", "comment": { "comments": [ { "id": "255646", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created pull request [#72|https://github.com/appcelerator/titanium_mobile_blackberry/pull/72] for master.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-03T22:38:10.000+0000", "updated": "2013-06-03T22:38:10.000+0000" }, { "id": "279115", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\r\nSteps to test:\r\n\r\n1) Added Ti.include('a.js', 'b.js'); in app.js file.\r\n2) Added new a.js file with logs to be printed. (Ti.API.info('hello a.js included.');)\r\n3)2) Added new b.js file with logs to be printed. (Ti.API.info('hello b.js included.');)\r\n\r\nGot both the logs printed in console after app launched.\r\n\r\nTested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201311120707\r\nSDK:3.2.0.v20131111174605\r\nalloy: 1.3.0\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0\r\ntitanium-code-processor: 1.0.3\r\nXcode:5.0.1\r\nDevice: Blackeberry Z 10\r\nOS: Mac OSX 10.9\r\nBB OS 10.0.10.261\r\n\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-12T11:26:23.000+0000", "updated": "2013-11-12T11:26:23.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }