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

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

    XMLWordPrintable

    Details

    • Operating System:
      ALL

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: