-
Type: Bug
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS:
node.js / npm versions:
Additional info:
Problem Statement/Rationale
When we are modifying a query, we can modify any of the references to a database, collections or fields, even writing them as empty strings. When we try to run a query with an empty database, collection or field, mongosh throws an exception that we don't capture and this shows in the IDE.
Please be sure to attach relevant logs with any sensitive data redacted.
How to retrieve logs for: Compass; Shell
Steps to Reproduce
Write a new Java query and when the index check has happened, remove the collection name.
Expected Results
We remove the index check result and no exception happens.
Actual Results
We keep the index check result and an exception happens.
Additional Notes
Any additional information that may be useful to include.