[SERVER-49212] Verify that generated validation errors are logged when a collection validator's validationAction is set to 'warn' Created: 30/Jun/20  Updated: 27/Jul/20  Resolved: 27/Jul/20

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

Type: Task Priority: Major - P3
Reporter: Mihai Andrei Assignee: Jenny Peshansky (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Query 2020-07-27, Query 2020-08-10
Participants:

 Description   

The following block should be updated to expose a generated validation error when one is generated by doc_validation_error::generateError()). As part of this work, jstests/core/doc_validation_options.js should be updated to check that the logs contain the generated message. This can be done using checkLog to examine the contents of the logs.



 Comments   
Comment by Githook User [ 24/Jul/20 ]

Author:

{'name': 'Jenny Peshansky', 'email': 'jenny.peshansky@mongodb.com', 'username': 'jenniferpeshansky'}

Message: SERVER-49212 Verify that generated validation errors are logged when a collection validator's validationAction is set to 'warn'
Branch: master
https://github.com/mongodb/mongo/commit/32b754043dd3af1e45e9931b231fb4d98f1730b5

Generated at Thu Feb 08 05:19:15 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.