[SERVER-7325] Validation error "exception during validate" should display exception text Created: 11/Oct/12 Updated: 06/Dec/17 Resolved: 08/May/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Usability |
| Affects Version/s: | 2.0.7, 2.2.0 |
| Fix Version/s: | 3.5.7 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Tad Marshall | Assignee: | Robert Guo (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | TIG 2017-05-08, TIG 2017-05-29 |
| Participants: |
| Description |
|
If a collection fails validation by the db.collectionName.validate() command and does so by throwing an assertion exception, the error "exception during validate" is returned in the "errors" array. This text should include the text of the assertion so that the user knows what the exception was without having to look in the log file. |
| Comments |
| Comment by Robert Guo (Inactive) [ 08/May/17 ] |
|
Not requesting backport since I don't recall ever seeing this particular mmapv1-only error. |
| Comment by Githook User [ 08/May/17 ] |
|
Author: {u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}Message: |
| Comment by Robert Guo (Inactive) [ 30/Mar/17 ] |
|
Putting this in 3.5 Desired. The exception message is indeed not used at the moment and it could give us additional information |