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

It's possible to enter some not allowed characters into the Port field

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.31.0
    • Affects Version/s: 1.26.0
    • Component/s: Connectivity
    • Labels:
      None
    • Environment:
      Mac, Windows

      Steps To Reproduce

      1. Open Connection screen and switch to Fill in connection fields individually
      2. Try to enter '-', '+', 'e' characters into the Port field

      Expected Results

      Only digits 0..9 should be allowed for entering. Port value are in range 1..65535.

      Actual Results

      '-', '+', 'e' characters remains entered in the Port field. When try to connect with such Port value the default 27017 port is used.

      Additional Notes

      Probably issue is introduced within the fix of COMPASS-4607, since it's not possible to enter or paste '-', '+', 'e'  characters in 1.25.0 version.

      It's also possible to enter only 0 into the Port field while up\down arrows inside the Port filed doesn't allow to enter value less than 1. When trying to connect with 0 port the default 27017 port value is used.

            Assignee:
            Unassigned Unassigned
            Reporter:
            olena.protsiuk@mongodb.com Olena Protsiuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: