{ "id": "83747", "key": "TIMOB-6629", "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": "12090", "description": "", "name": "Sprint 2011-50", "archived": true, "released": true, "releaseDate": "2011-12-19" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-12-13T20:01:34.000+0000", "created": "2011-12-13T13:03:41.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "branch-v8", "module_module", "qe-port", "qe-testadded", "verified-1.8.0.1" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-01-18T16:28:56.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "cf.the breaking change:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/commit/0c23329\r\n\r\nFail case:\r\n\r\n1. build any module (bump, etc.) to create its zip.\r\n2. Create an app and copy the module's zip to the app's root folder.\r\n3. Modify tiapp.xml in the app to include the module.\r\n4. Modify app.js in the app to require() the module.\r\n5. Run the app.\r\n\r\nYou'll get the error \"Requested module not found: bootstrap\"\r\n", "attachment": [], "flagged": false, "summary": "Android: (V8) Error require()'ing native modules since commit 0c23329", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium Mobile 1.9.0 0c23329 or 1.8.0.1 291d072", "comment": { "comments": [ { "id": "176010", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/972", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-12-13T17:10:30.000+0000", "updated": "2011-12-13T17:10:30.000+0000" }, { "id": "176011", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "h3. Testing Notes\r\n\r\n1. Create a new Android external module and build it with ant.\r\n2. Create an app to test the module (I'm assuming you know all the steps: edit your tiapp.xml to include the module, put the module zip file in your app folder, and use require() in app.js to access the module).\r\n3. Run the app and make sure no errors appear. (In the failcase you'll get an error right away when the require() statement gets hit.)\r\n\r\nh3. Variations on this test:\r\n\r\n* Run the app (step 3 above) in both v8 and rhino.\r\n* Add a *javascript* module to your app as well and require() it, to be sure we didn't break javascript require() (as opposed to external module require()).", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-12-13T17:15:02.000+0000", "updated": "2011-12-13T17:15:43.000+0000" }, { "id": "176962", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fix on:\r\n\r\nSDK build: 1.8.0.1.v20111220190134\r\nRuntime: V8, Rhino\r\nTitanium Studio, build: 1.0.7.201112152014\r\nDevice: Droid 1 (2.2.2)\r\nOS: Mac OS X Lion\r\n\r\nNote: Will not close bug until verify on SDK build 1.9.0\r\n", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-12-21T16:26:55.000+0000", "updated": "2011-12-21T16:26:55.000+0000" }, { "id": "234989", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\nTested with:\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK, build: 3.0.2.v20130117161659\nDevice:\nDroid3 2.3.4\nAndroid Emulator 3.2\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T16:28:09.000+0000", "updated": "2013-01-18T16:28:09.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }