[COMPASS-6213] Expose reasons for document validation failure Created: 18/Oct/22  Updated: 10/Jan/24

Status: Waiting (Blocked)
Project: Compass
Component/s: CRUD, Document Validation
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: FY2024Q3-candidate, needs-ux-feedback
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Story Points: 3
UserVoice Links:

Explain why "Document failed validation" (Suggestion)
No Status (9 users)


 Description   

Similar to what we did in MONGOSH-584, when connected to MongoDB 5.0+ we are able to tell where document validation failed upon insertion or update of a document.

The places where we should consider this are:

  • Document insertion dialog
  • Document update view in list/json/table view (the space here is small and the validation error typically big, we could consider maybe an entrypoint to a details dialog)
  • $merge/$out into a collection
  • Import/export

Generated at Wed Feb 07 22:42:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.