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

    • Type: Bug
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Networking
    • 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

              Assignee:
              backlog-server-servicearch Backlog - Service Architecture
              Reporter:
              scotthernandez Scott Hernandez
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: