-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.10, 4.3.1
-
Component/s: Aggregation Framework
-
ALL
-
In the reproduction below an aggregate with match and inclusion projection writes the included field to the output document. It should instead produce an empty document. This is consistently reproducible on 4.0.10 and occurs sporadically on master and 4.2.0-rc0.
The assertion fails with the following error:
assert: [{ }] != [{ "str" : null }] are not equal
- duplicates
-
SERVER-23229 Projection incorrectly returns null value instead of missing field to user if projection is covered
- Backlog