[SERVER-25394] Cannot index Decimal inside a subdoc Created: 02/Aug/16  Updated: 13/Aug/16  Resolved: 02/Aug/16

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: 3.3.8
Fix Version/s: 3.3.11

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:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

db.user.ensureIndex({
    num: 1,
    x: 1
});
db.user.insert({
    x: [{a: NumberDecimal(Infinity)}]
});

Participants:
Linked BF Score: 0

 Description   

bsonTypeToGenericKeyStringType is missing a case for NumberDecimal.



 Comments   
Comment by Githook User [ 02/Aug/16 ]

Author:

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

Message: SERVER-25394 Add keystring support for NumberDecimal inside subdoc
Branch: master
https://github.com/mongodb/mongo/commit/99680d86d7754ad366406e89a6d161e0c8b3f8ca

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