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

Driver uses custom decoder to decode error document

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.14.2
    • Affects Version/s: 2.10.0
    • Component/s: Query Operations
    • None

      The 2.x driver will use a customer decoder to decode the error document if the query failure bit is set on an OP_REPLY. It should instead use the default decoder so that the code and $err fields are always properly decoded and the correct exception is propagated.

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: