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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.7.4
    • Component/s: JavaScript
    • Labels:
    • Operating System:
      ALL
    • Steps To Reproduce:
      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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: