{ "id": "103488", "key": "TIMOB-11505", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14166", "description": "2012 Sprint 21 Core", "name": "2012 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-17T18:39:22.000+0000", "created": "2012-10-16T18:52:20.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "core", "qe-port", "regression", "triage" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2012-12-05T18:01:48.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": "Titanium Mobile 3.0.0, V8, any android version, any desktop os, any Studio version.\r\n\r\n# Create a project and target 3.0.0.\r\n# Put the attached module zip file in the project folder.\r\n# Add the module to the project (i.e., edit tiapp.xml section appropriately).\r\n# Make this the project's app.js:\r\n{code:title=app.js}\r\nrequire(\"ti.bertram\").example();\r\nrequire(\"ti.bertram\").example();\r\n{code}\r\n# Run the project and you'll get the runtime error that you can't call \"example\" of undefined.\r\n\r\nThis is a *regression* and is not present in 2.1.3. The problem does not occur when Rhino is the runtime.", "attachment": [ { "id": "32689", "filename": "ti.bertram-android-0.1.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T19:00:28.000+0000", "size": 44008, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: (V8 only) Using require() a second time for the same module returns undefined instead of cached module object.", "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": null, "comment": { "comments": [ { "id": "223898", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Master PR ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3253/", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T22:34:12.000+0000", "updated": "2012-10-16T22:34:12.000+0000" }, { "id": "223901", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "3_0_X PR ready:\n\nhttps://github.com/appcelerator/titanium_mobile/pull/3254/", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2012-10-16T22:47:43.000+0000", "updated": "2012-10-16T22:47:43.000+0000" }, { "id": "230066", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 3.0.0.20121204144658 on Droid 1 2.2.3", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-05T18:01:48.000+0000", "updated": "2012-12-05T18:01:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }