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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.7.2
    • 2.7.4
    • 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

    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

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

              Dates

                Created:
                Updated:
                Resolved: