Error labels are not added to MongoWriteConcernException

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.1
    • Affects Version/s: None
    • Component/s: Command Operations
    • None
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The error labels are at the top level of the response document, and the driver is assuming that they are embedded in the writeConcernError document. The fix is to ensure that error labels at the top level are properly added to MongoWriteConcernException.

      Currently the code for this is not consolidated, but to avoid API changes in MongoWriteConcernException we won't centralize it there as part of this change.

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

                Created:
                Updated:
                Resolved: