[CSHARP-1241] Single and SingleOrDefaultAsync on IFindFluent shouldn't set the limit to 2 if it is already 1. Created: 15/Apr/15 Updated: 22/Apr/15 Resolved: 22/Apr/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Craig Wilson | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
If the limit is already 1 in IFindFluent, changing the limit to 2 when Single or SingleOrDefault is used can cause an exception to be thrown. |
| Comments |
| Comment by Craig Wilson [ 22/Apr/15 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |