[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: |