[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: |
|
||||||||
| 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 Best, |