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

Compass Connection String with "///" Seems to Lock it up

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.24.6
    • Affects Version/s: 1.20.3, 1.20.4
    • Component/s: Compass, Connectivity
    • Labels:
      None
    • Not Needed
    • Iteration Vicuña, Iteration Tangerine

       To reproduce in 1.20.3 (Stable):
      -Change the Connection string to include "///" such as

      mongodb:///localhost:27017/?readPreference=primaryPreferred&ssl=false

      -Click the "Connect" button

      -See screen try to connect but never give control back to user. Screen is grayed out with the thin, green progress line moving.

      The database is very basic - no password, default port, localhost, etc.

       

      When adding the 3rd slash to different connection strings, the connection string line is parsed inconsistently as shown by the error message generated (See images). I expected the 3rd slash to generate the same error message for all variations. Perhaps disable the "Connect" button if the parsing is not valid.

        1. Screen Shot 2020-12-17 at 11.17.21 AM.png
          Screen Shot 2020-12-17 at 11.17.21 AM.png
          56 kB
        2. Screen Shot 2019-12-20 at 5.55.21 PM.png
          Screen Shot 2019-12-20 at 5.55.21 PM.png
          161 kB
        3. Screen Shot 2019-12-20 at 5.55.08 PM.png
          Screen Shot 2019-12-20 at 5.55.08 PM.png
          157 kB
        4. Screen Shot 2019-12-20 at 5.54.56 PM.png
          Screen Shot 2019-12-20 at 5.54.56 PM.png
          183 kB
        5. Screen Shot 2019-12-20 at 5.54.27 PM.png
          Screen Shot 2019-12-20 at 5.54.27 PM.png
          207 kB
        6. Screen Shot 2019-12-17 at 2.45.51 PM.png
          Screen Shot 2019-12-17 at 2.45.51 PM.png
          122 kB

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: