Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4419

Error labels are not added to MongoWriteConcernException

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

      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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: