[CSHARP-59] MongoCollection<T>.FindAndModify(object document, object spec, object sort) causes stack-overflow Created: 26/Aug/10 Updated: 19/Oct/16 Resolved: 27/Aug/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Gabriel Duford | Assignee: | Steve Wagner |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
samus-mongodb-csharp-85d3524 |
||
| Description |
|
Just looking at the code makes it quite clear that this will bust the stack: public T FindAndModify(object document, object spec, object sort) { return FindAndModify(document, spec, sort); }Work around is to call another overload. |
| Comments |
| Comment by Steve Wagner [ 27/Aug/10 ] |
|
Is fixed here http://github.com/lanwin/mongodb-csharp |