[SERVER-25624] Errors during command processing/response-building should reset "result" with error. Created: 15/Aug/16  Updated: 05/Dec/22

Status: Open
Project: Core Server
Component/s: Networking
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Backlog - Service Architecture
Resolution: Unresolved Votes: 0
Labels: move-sa, platforms-re-triaged
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-20612 Error when appendCommandResult can't ... Backlog
Assigned Teams:
Service Arch
Operating System: ALL
Sprint: Service Arch 2022-10-31, Service Arch 2022-11-14, Service Arch 2022-11-28
Participants:

 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.



 Comments   
Comment by Lauren Lewis (Inactive) [ 24/Feb/22 ]

We haven’t heard back from you for at least one calendar year, so this issue is being closed. If this is still an issue for you, please provide additional information and we will reopen the ticket.

Generated at Thu Feb 08 04:09:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.