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

mongo shell BSON validation rejects decimals

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.6
    • Affects Version/s: 3.3.5
    • Component/s: Shell
    • Labels:
      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)

      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.

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

              Created:
              Updated:
              Resolved: