-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
None
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
> db.foo.drop() true > db.foo.insert({_id:'ID', other: 'OTHER'}) > db.foo.aggregate({$project:{_id:'$other'}}) { "result" : [ { "_id" : "ID", "_id" : "ID" } ], "ok" : 1 }
Expected result: {_id: 'OTHER'}
- duplicates
-
SERVER-6181 attempt to $project a computed _id field results in a document with two duplicate (wrong) _id values
-
- Closed
-