Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
4.2.0-rc3
-
None
-
Fully Compatible
-
ALL
-
v4.2
-
Query 2019-07-29
-
(copied to CRM)
Description
When constructing a DuplicateKeyErrorInfo object we pass a keyValue object that contains an empty string and a value for each element of a compound index. This allows for a BSONObj that has the same field name (empty string) duplicated for multiple fields. We should instead replace the empty string with the actual index key field name.