MongoCollection<T>.FindAndModify(object document, object spec, object sort) causes stack-overflow

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      samus-mongodb-csharp-85d3524
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Steve Wagner
            Reporter:
            Gabriel Duford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: