[COMPASS-4231] Compass Connection string adds "test" to connection string w/o notifying user Created: 03/Apr/20  Updated: 03/Oct/23  Resolved: 08/Apr/20

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.20.5
Fix Version/s: No version

Type: Bug Priority: Minor - P4
Reporter: Felicia Hsieh Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

macOS 10.14.6


Sprint: Iteration Blackberry

 Description   

Paste connection string to Compass

mongodb://uuuuu:xxx@mongo1.cc.org:27117,mongo2.cc.org:27117,mongo3.cc.org:27117/?authSource=admin&replicaSet=rs0&readPreference=primary&appname=MongoDB Compass&ssl=false

Click "Fill in connection fields individually"

Click "Paste Connection String"

The connection string added "/test". I expected no change in the string.

mongodb://uuuuu:xxx@mongo1.cc.org:27117,mongo2.cc.org:27117,mongo3.cc.org:27117/test?authSource=admin&replicaSet=rs0&readPreference=primary&appname=MongoDB%20Compass&ssl=false

 

The same addition of "/test" can be seen if the connection moves to another connection and back.



 Comments   
Comment by Massimiliano Marcon [ 08/Apr/20 ]

Compass doesn't care about the DB name in the URI so having it or not having does not make any difference.

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