-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Embedded Shell
-
None
-
1
-
Iteration Jellyfish, Iteration Kraken
-
Not Needed
-
None
Problem Description
After using autocomplete in compass UI (e.g., in Aggregations tab editor), mongosh autocomplete shows wrong results
Steps to Reproduce
- Open any collection, navigate to the Aggregations and create a match state for any field in the collection
- Open mongosh and type db., you should see no suggestions
- Type the first letter of the field from step 1, you should see the field being suggested
Expected Results
You get autocomplete results for whatever you're typing in the shell (e.g., db methods)
Actual Results
You get the same autocomplete results you were getting in UI
Additional Notes
The source of the issue is probably somewhere in ace editor and some singleton autocomplete state that it's sharing between all the instances