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

Validation error "exception during validate" should display exception text

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 3.5.7
    • 2.0.7, 2.2.0
    • Usability
    • None
    • Fully Compatible
    • ALL
    • TIG 2017-05-08, TIG 2017-05-29

    Description

      If a collection fails validation by the db.collectionName.validate() command and does so by throwing an assertion exception, the error "exception during validate" is returned in the "errors" array. This text should include the text of the assertion so that the user knows what the exception was without having to look in the log file.

      Attachments

        Activity

          People

            robert.guo@mongodb.com Robert Guo (Inactive)
            tad Tad Marshall
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: