-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Environment:OS:
node.js / npm versions:
Additional info:
-
Not Needed
-
None
-
Developer Tools
Related to https://jira.mongodb.org/browse/HELP-97415{}
Description
Compass version 1.49.12 never connects if you put an incorrect connection string first.
Steps to Reproduce
- Get a valid connection string and copy it into the buffer
- Create a new connection in Compass
- Paste the valid connection string, but add an http:// prefix
- Click Save & Connect — Compass will display the error “Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
- Edit the connection string
- Paste the correct connection string into the modal
- Click Save & Connect — Compass will display the same error “Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
- Only restarting helped in my case. After Compass restarted, the same connection started working fine
Expected Results
Compass works with the correct connection string after the incorrect connection string was edited into a correct one
Actual Results
Compass version 1.49.12 never connects if you put an incorrect connection string first.