[CSHARP-1645] Inconsistent response from AsQueryable().FirstOrDefaultAsync Created: 02/May/16 Updated: 01/Jun/16 Resolved: 03/May/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API, Linq |
| Affects Version/s: | 2.2.3 |
| Fix Version/s: | 2.2.4 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Jonathan Sisam | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu Linux |
||
| Description |
|
Hi I get inconstant results from MyCollection.AsQueryable().FirstOrDefaultAsync(...) while MyCollection.Find(...).FirstOrDefaultAsync() works fine. For example: Given the following test
|
| Comments |
| Comment by Jonathan Sisam [ 10/May/16 ] |
|
Thanks |
| Comment by Githook User [ 03/May/16 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Githook User [ 03/May/16 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Craig Wilson [ 02/May/16 ] |
|
Hi Jonathan, Thanks for the report and easy reproduction step. I have reproduced this and am trying to figure out what is going on and how to fix it. Craig |