[SERVER-23949] mongo shell BSON validation rejects decimals Created: 27/Apr/16  Updated: 28/Sep/16  Resolved: 06/May/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.3.5
Fix Version/s: 3.3.6

Type: Bug Priority: Major - P3
Reporter: Geert Bosch Assignee: Geert Bosch
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-8919 mongo shell BSON validation rejects d... Closed
Backwards Compatibility: Minor Change
Operating System: ALL
Steps To Reproduce:

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

Sprint: Integrate+Tuning 14 (05/13/16)
Participants:

 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.



 Comments   
Comment by Githook User [ 06/May/16 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-23949 Enable decimal support by default in Mongo shell
Branch: master
https://github.com/mongodb/mongo/commit/ea4e60dffbdc7380a95409a0616c788324efbb7a

Generated at Thu Feb 08 04:04:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.