Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4236

"No username provided in authority section" message premature

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: 1.20.5
    • Component/s: Connectivity
    • None
    • Iteration Cantaloupe
    • None
    • None

      When I am creating a new connection in Compass in the connection dialog, and I use the SRV URI, and I type the following in:

      mongodb://
      

      I see the following message appearing below:

      No username provided in authority section
      

      While it is true that no username is provided in authority section, there is no requirement that one is provided at all. For example, in this case what I intended to type was

      mongodb://localhost
      

      As a user of Compass, I expect the stated message to only appear when the authority section has been fully entered (i.e. there's an @ sign in the input).

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: