[CSHARP-3777] Temporary disable WriteError_details_should_expose_writeErrors_errInfo due to the server bug Created: 02/Aug/21  Updated: 28/Oct/23  Resolved: 05/Aug/21

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.14.0

Type: Bug Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes CSHARP-3785 Enable WriteError_details_should_expo... Closed
is caused by SERVER-58399 Duplicate errInfo field in write erro... Closed

 Description   

This test should be temporary disable: https://evergreen.mongodb.com/task_log_raw/dot_net_driver_secure_tests_linux__version~latest_os~ubuntu_1804_topology~sharded_cluster_auth~auth_ssl~ssl_test_netstandard15_patch_44a8a50402fe554d86ecf4cefd9fc5610a85542a_61047e5c850e6135cf130863_21_07_30_22_34_20/0?type=T#L2802

The issue reason is because the latest sharded server returns double "errInfo" in writeErrors:

[0]: {index=0}    
[1]: {code=121}    
[2]: {codeName=DocumentValidationFailure}    
[3]: {errmsg=Document failed validation}    
[4]: {errInfo={ "failingDocumentId" : ObjectId("610497c39a04fbd392aceb0b"), "details" : { "operatorName" : "$type", "specifiedAs" : { "x" : { "$type" : "string" } }, "reason" : "type did not match", "consideredValue" : 1, "consideredType" : "int" } }}    
[5]: {errInfo={ "failingDocumentId" : ObjectId("610497c39a04fbd392aceb0b"), "details" : { "operatorName" : "$type", "specifiedAs" : { "x" : { "$type" : "string" } }, "reason" : "type did not match", "consideredValue" : 1, "consideredType" : "int" } }}



 Comments   
Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-3777: Temporary disable WriteError_details_should_expose_writeErrors_errInfo due to the server bug. (#591)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/94bcc4f1d3c6af84e0f88523298060b1598db36b

Generated at Wed Feb 07 21:46:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.