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

mongo shell BSON validation rejects decimals

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.5
    • Fix Version/s: 3.3.6
    • Component/s: Shell
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      db.coll.insert({x: NumberDecimal("0.02")});
      db.coll.find();
      

      Show
      db.coll.insert({x: NumberDecimal("0.02")}); db.coll.find();
    • Sprint:
      Integrate+Tuning 14 (05/13/16)

      Description

      In adding a serverParameter to enable decimal support, the shell's validation of server responses was affected as well, rendering decimal support useless. JS testing in the decimal suite doesn't cover this path, as it checks server behavior by checking the count of expected document values.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              geert.bosch Geert Bosch
              Reporter:
              geert.bosch Geert Bosch
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: