Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25624

Errors during command processing/response-building should reset "result" with error.

    • Server Programmability
    • ALL
    • Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28

      When a command fails, or duplicate status/ok/errmsg/code/etc is attempted to be appended to "result" (bsonobjbuilder) the current "result" should be copied to a field (like "$oldStateBeforeFinalError") and "result" should contain the correct error information.

      This will allow the error/status command code to always report the correct error/state to the client.

            Assignee:
            Unassigned Unassigned
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: