[COMPASS-3974] Compass aggregation incorrectly pre-parses a pipeline and reports an error when there isn't one Created: 22/Nov/19 Updated: 29/Oct/23 Resolved: 19/Oct/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Aggregation pipeline, Tech debt |
| Affects Version/s: | 1.19.12 |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Andre M | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows 10, 64-bit, MongoDB Compass Community |
||
| Attachments: |
|
| Documentation Changes: | Not Needed |
| Description |
|
On the Aggregations tab when this pipeline is used:
, an error Expected "[" or AggregationStage but "{" found. is reported. When the pipeline is executed in Mongo Shell, there's no error:
|
| Comments |
| Comment by Rhys Howell [ 19/Oct/20 ] |
|
Pre-parser was removed. Now errors are straight from the driver. |