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

mongo shell BSON validation rejects decimals

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.6
    • 3.3.5
    • Shell
    • None
    • Minor Change
    • ALL
    • Hide

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

      Show
      db.coll.insert({x: NumberDecimal("0.02")}); db.coll.find();
    • 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

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: