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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.7.4
    • Affects Version/s: 2.7.2
    • Component/s: JavaScript
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Michael Hudson-Doyle
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: