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

Return error message if schema validation fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Operating System:
      ALL

      Description

      Currently there is no mechanism by which client can determine (if the schema validation fails via insert/update), for what specific fields the validation failed, and due to what reason.

       

      One way to quick fix this would be to return the value of field "description", where one can put meaningful message to return if validation fails.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dipaky Dipak Yadav
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: