[SERVER-10693] Redact pipeline not including non-object array members Created: 06/Sep/13 Updated: 11/Jul/16 Resolved: 06/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | 2.5.2 |
| Fix Version/s: | 2.5.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Erickson | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Minor Change |
| Operating System: | ALL |
| Steps To Reproduce: | t = db.jstests_aggregation_redact; , , , }, |
| Participants: |
| Description |
|
jstest example indicate that non-object members of arrays undergoing redaction should be included in field-level filtered results. Asserts in this test don't test for the inclusion of the: |
| Comments |
| Comment by auto [ 06/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by auto [ 06/Sep/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by David Erickson [ 06/Sep/13 ] |
|
This is also affecting the results of subset based conditions //the following db.files.drop(); , , ], } //returns: { ], //notice how it is stripping the values from the "sl" arrays in the result |