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

Introduce 'DocumentValidationErrorExtraInfo' and shell support for document validation errors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Query 2020-06-15, Query 2020-06-29, Query 2020-07-13
    • 91

      In order for document validation errors to correctly propagate from the server to the user when the collection validator's 'validationAction' is set to error, two components are needed:

      As part of this work, doc_validation.js should be updated to verify that the 'errInfo' field is propagated correctly for DocumentValidationFailure errors both in a standalone as well as a sharded cluster.

            Assignee:
            mihai.andrei@mongodb.com Mihai Andrei
            Reporter:
            mihai.andrei@mongodb.com Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: