[SERVER-3615] for v8 invoke, if this does not exists, should be set to global obj Created: 16/Aug/11 Updated: 11/Jul/16 Resolved: 13/Sep/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 1.8.2, 1.8.3 |
| Fix Version/s: | 2.1.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernie Hackett | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
I'll preface this by saying I can't figure out how to write a JS repro script since the shell doesn't support a CodeWScope type ( All that aside, I've attached a simple python script to reproduce although you need pymongo installed or have PYTHONPATH set to it's home. In 1.8.x and in master (there isn't currently a 1.9.2 tag) the mongod log shows the following error: Tue Aug 16 10:45:04 [conn26] warning: CodeWScope doesn't transfer to db.eval ^ This all works fine with spidermonkey. This came up in |
| Comments |
| Comment by auto [ 13/Sep/11 ] |
|
Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 16/Aug/11 ] |
|
Just as a note - v8 isn't supported right now. |