[SERVER-48781] Introduce 'DocumentValidationErrorExtraInfo' and shell support for document validation errors Created: 15/Jun/20 Updated: 29/Oct/23 Resolved: 07/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Mihai Andrei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Query 2020-06-15, Query 2020-06-29, Query 2020-07-13 | ||||
| Participants: | |||||
| Linked BF Score: | 91 | ||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 07/Jul/20 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}Message: |
| Comment by Githook User [ 02/Jul/20 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}Message: Revert " This reverts commit 0ab6e8fb4d26b7bbe22d483dbe7850e64013447c. |
| Comment by Githook User [ 01/Jul/20 ] |
|
Author: {'name': 'Mihai Andrei', 'email': 'mihai.andrei@10gen.com', 'username': 'mtandrei'}Message: |