Introduce 'DocumentValidationErrorExtraInfo' and shell support for document validation errors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Mihai Andrei
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: