Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49212

Verify that generated validation errors are logged when a collection validator's validationAction is set to 'warn'

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query 2020-07-27, Query 2020-08-10

      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.

            Assignee:
            jenny.peshansky@mongodb.com Jenny Peshansky (Inactive)
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: