[COMPASS-4398] Wrong/Default port displayed on title bar when Compass connects to MongoDB via SRV record Created: 02/Sep/20  Updated: 29/Oct/23  Resolved: 17/Dec/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: None
Fix Version/s: 1.25.0

Type: Bug Priority: Major - P3
Reporter: Massimiliano Marcon Assignee: Maurizio Casimirri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
Problem/Incident
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Star Apple

 Description   

This surfaces when connecting to Atlas over Private Endpoint Connection string with ports that are different than the default.

To avoid the confusion, we will probably hide the port when it's an SRV connection.

Let's also improve the generated instance id when the connection has multiple hosts & ports. We can show a comma separated list of the hosts and ports in this case.

When updating the connection-model version in Compass, also bump it in VSCode since the instanceId is also used there, and the connection form is a bit more flexible in allowing multiple hosts.



 Comments   
Comment by Githook User [ 18/Dec/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: hide default port from title bar for SRV url COMPASS-4398 (#2086)
Branch: fix-installer-version
https://github.com/mongodb-js/compass/commit/fc4b88d65a053081e8eb95d64b95fbf347e2e69a

Comment by Githook User [ 18/Dec/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: hide default port from title bar for SRV url COMPASS-4398 (#2086)
Branch: 4454-dev
https://github.com/mongodb-js/compass/commit/fc4b88d65a053081e8eb95d64b95fbf347e2e69a

Comment by Githook User [ 17/Dec/20 ]

Author:

{'name': 'Maurizio Casimirri', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: hide default port from title bar for SRV url COMPASS-4398 (#2086)
Branch: master
https://github.com/mongodb-js/compass/commit/fc4b88d65a053081e8eb95d64b95fbf347e2e69a

Comment by Githook User [ 17/Dec/20 ]

Author:

{'name': 'mcasimir', 'email': 'maurizio.cas@gmail.com', 'username': 'mcasimir'}

Message: fix: hide default port from title bar for SRV url COMPASS-4398
Branch: COMPASS-4398
https://github.com/mongodb-js/compass/commit/66d80d3732e0b0abb6056948d4a0057590dedc2a

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