mongo shell BSON validation rejects decimals

XMLWordPrintableJSON

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

      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
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: