[COMPASS-3069] For a developer, aggregation pipeline error messages from the server could be more intuitive Created: 16/Aug/18 Updated: 01/Mar/19 Resolved: 22/Jan/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Compass, UI / UX |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major - P3 |
| Reporter: | Brian Blevins | Assignee: | Lucas Hrabovsky (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Epic Link: | COMPASS-3220 | ||||||||
| Documentation Changes Summary: | Dupe of |
||||||||
| Description |
|
The attached error message is not intuitive. The error occurs because the server is version 3.6 and not 4.0 and the agg operator was introduced in 4.0. However, the error message seems to suggest that a parsing error occurred in Compass. Unrecognized expression `$toInt` One way to improve these error messages would be to prepend a reference to the database server for those errors originating from the server. Database server reported the error: Unrecognized expression `$toInt` |