[COMPASS-4170] Favorites saved incorrectly when using SSH tunnel Created: 26/Feb/20  Updated: 29/Oct/23  Resolved: 17/Apr/20

Status: Closed
Project: Compass
Component/s: Favorites
Affects Version/s: 1.20.5
Fix Version/s: 1.21.0

Type: Bug Priority: Critical - P2
Reporter: Mark Garrett Assignee: Durran Jordan
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

macOS 10.15.3


Attachments: PNG File after-Connect.png     PNG File after-Tunnel.png     PNG File before-Connect.png     PNG File before-Tunnel.png     PNG File connect.png    
Issue Links:
Related
is related to COMPASS-4135 Saved favorite on Linux: SSL configur... Closed
Sprint: Iteration Avocado, Iteration Blackberry

 Description   

When using the blanks to fill in the connection information, SSH tunnel info is not saved properly, and does not display when looking at the favorite. Additionally, the mongo connection port is changed to a seemingly random number over 29000.

This effectively breaks the Favorites functionality for anyone using SSH Tunnels. I am selecting "Save Changes" before I Connect. I've attached screenshots:

before-Connect: The favorite's connection. You can see I'm connecting over the standard port.
before-Tunnel: The tunnel info. I've blacked out username and identity file, but you can see it's connecting over the standard SSH port.
connect: When I connect to the instance, you can see that the port info has already been munged. The SSH port is showing as 27017 and the instance port as a seemingly random number.
after-Connect: The favorite now has yet a different instance port that it's trying to connect to.
after-Tunnel: All SSH tunnel info has been lost.



 Comments   
Comment by Mark Garrett [ 26/Feb/20 ]

Looks to be a related issue, but it does not look like the fix addresses all the issues (changed port #, incorrect connection info when connected to server, etc)

Generated at Wed Feb 07 22:35:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.