Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-14554

DBRef JS constructor does not accept $db with --js-engine=v8-3.25

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.4
    • Affects Version/s: 2.7.2
    • Component/s: JavaScript
    • Labels:
    • ALL
    • Hide

      scons --js-engine=v8-3.25 -j 8 all && buildscripts/smoke.py jstests/core/shelltypes.js

      Show
      scons --js-engine=v8-3.25 -j 8 all && buildscripts/smoke.py jstests/core/shelltypes.js

      Various smoke tests fail when built with --js-engine=v8-3.25. I haven't poked into every single one, but the ones I have looked at are all some variation of:

      2014-07-15T05:19:26.528+0100 Error: DBRef needs 2 arguments
      at Error (native)
      at /home/mwhudson/mongo/jstests/core/shelltypes.js:14:5 at /home/mwhudson/mongo/jstests/core/shelltypes.js:14
      failed to load: /home/mwhudson/mongo/jstests/core/shelltypes.js

      so I suspect that they are all or at least mostly symptoms of the same underlying problem.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            mwhudson Michael Hudson-Doyle
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: