[COMPASS-6182] Export modal does not open when count of document fails. Created: 10/Oct/22 Updated: 27/Oct/23 Resolved: 14/Feb/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Import/Export |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Basit Chonka | Assignee: | Unassigned |
| Resolution: | Gone away | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Description |
|
When using `$where` in a query and trying to export collection results, the export modal does not open. DataService calls driver.countDocuments which converts the query to pipeline which does not support $where and throws an errors, which remains hidden from user. Source: Slack |
| Comments |
| Comment by Angelo Reale (Inactive) [ 14/Feb/23 ] |
|
Thanks basit.chonka@mongodb.com , when can we expect this to be available in a compiled version? |
| Comment by Basit Chonka [ 14/Feb/23 ] |
|
Was fixed in https://github.com/mongodb-js/compass/pull/3866 |