{ "id": "83928", "key": "TIMOB-6694", "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-15T21:39:31.000+0000", "created": "2011-12-15T10:56:49.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-and121411", "regression" ], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-12-16T13:27:06.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": "Steps To Reproduce:\r\n1. Run TC1011 from https://wiki.appcelerator.org/display/tp/Fastdev+Test+Case\r\n\r\nActual Result:\r\nAfter clicking on the button you get a runtime error: 'Uncaught Error: Requested module not found: win'\r\n\r\nExpected Result:\r\nTo load the content of win.js \"Got a new window\"\r\n\r\nWorkaround:\r\nNeed to recompile the entire project to see the new window\r\n\r\nNote:\r\nLast working with 1.7.5", "attachment": [], "flagged": false, "summary": "Android: Fastdev: v8/rhino: Adding an external js file and restarting with fastdev running does not pick up the new file", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac 10.6.8\r\nEmulator 2.2\r\nTiStudio: 1.0.7.201112141707\r\nSDK: 1.8.0.1.v20111214093905", "comment": { "comments": [ { "id": "176300", "author": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here are modified steps to reproduce this issue:\r\n\r\n1. Create a new titanium mobile project\r\n\r\n2. Add a new button under app.js\r\n{code}\r\nvar button = Titanium.UI.createButton({\r\n title: 'Open Button'\r\n})\r\n \r\nbutton.addEventListener(\"click\", function(e){\r\n var win3 = Titanium.UI.createWindow({\r\n url:'win.js'\r\n });\r\n tab1.open(win3);\r\n});\r\nwin1.add(button);\r\n{code}\r\n\r\n3. Launch the Application\r\n4. Create a new file under Resources called win.js with the following code\r\n\r\n{code}\r\nvar win = Titanium.UI.currentWindow;\r\n \r\nwin.add(Titanium.UI.createLabel({\r\n text: 'Got a new window'\r\n}));\r\n{code}\r\n4. Click on the button \r\n5. Click back from the emulator \r\n6. Modify win.js text:'Got a new window' to text:'Got updated' \r\n7. Click on the button", "updateAuthor": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-15T18:56:42.000+0000", "updated": "2011-12-15T18:56:42.000+0000" }, { "id": "176367", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.8.0.1.v20111216124633 with v8/rhino no longer getting runtime error", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-16T13:27:06.000+0000", "updated": "2011-12-16T13:27:06.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }