-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Connectivity
-
None
-
Not Needed
Problem Description
When trying to browse a local instance of a database, the VS Code Extension gives out an error message "t.forEach is not a function"
Steps to Reproduce
Add a new Connection.
Unfold the connection with the arrow icon.
Expected Results
The databases are unfolded.
Actual Results
An error message is shown "t.forEach is not a function"
Additional Notes
Occured on ubuntu 20.04.2 with vscode version 1.54.3 and extension version 0.5.0
I tried it with different docker images of the mongo server (4.0.4 and 3.6.2) as well as a local installation of mongod.
Also, another similar extension (Mongodb-dly) produces a similar error: "databases is not iterable", so it is possibly a problem with MongoDB NodeJS Driver, as both extensions share this dependency