[SERVER-35926] Return error message if schema validation fails Created: 30/Jun/18  Updated: 03/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Dipak Yadav Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-20547 Expose the reason an operation fails ... Closed
Operating System: ALL
Participants:

 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.



 Comments   
Comment by Dipak Yadav [ 03/Jul/18 ]

Thanks @David.storch, yes it is duplicate. may be initially i searched with different keywords.

 

Thanks again!

Dipak

Comment by David Storch [ 02/Jul/18 ]

Thanks for the feature request, dipaky. I believe this is a duplicate of SERVER-20547. Feel free to re-open this ticket if you believe it is not in fact a dup.

Best,
Dave

Generated at Thu Feb 08 04:41:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.