[CSHARP-214] FindAndModify and FindAndRemove should not throw an exception when no matching document is found Created: 28/Apr/11 Updated: 02/Apr/15 Resolved: 28/Apr/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.0 |
| Fix Version/s: | 1.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The server returns an error for the findAndModify command when no matching document is found, causing the driver to throw an exception. The server is going to be changed some day to no return an error, but in the meantime the driver should be changed to ignore this particular error and not throw an exception. |
| Comments |
| Comment by Robert Stam [ 28/Apr/11 ] |
|
Fixed. |