[CSHARP-1912] Filter builder.And(<emptyFilter>,<emptyFilter>) renders incorrectly Created: 09/Feb/17 Updated: 13/Feb/17 Resolved: 13/Feb/17 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API, Operations |
| Affects Version/s: | 2.4.2 |
| Fix Version/s: | 2.4.3 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Chad Kreimendahl | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Quick note. This problem arose in an upgrade from 2.2 to 2.4.2. When doing the following:
The rendered "filter" from above is an empty (and illegal) $and: {[]}in version 2.2, this would render as empty. |
| Comments |
| Comment by Githook User [ 13/Feb/17 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Robert Stam [ 09/Feb/17 ] |
|
You are correct. It should render as empty. |