WriteResult.isUpdateOfExisting reports wrong value running against MongoDB 2.6

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.12.3, 3.0.0
    • Affects Version/s: 2.12.0
    • Component/s: Write Operations
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Running against MongoDB 2.6, WriteResult.isUpdateOfExisting reports wrong value for an update that does not modify any documents. While it does report n = 0, it reports updateOfExisting = true, and it should be false.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: