Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-2163

[OCMUI]Missing validation for "URL" field from GitLab IDP page from Access control section.

    • False
    • Hide

      None

      Show
      None
    • False
    • OCMUI Core Sprint 257, OCMUI Core Sprint 258

      Description of problem:

      There is no UI validation in place for the "URL" field from GitLab IDP page from "Access control" section of a cluster. The user was indicated validation error on the URL when submitting a wrong value as it is handled from backend. We need to put a validation rule for the same field in UI as well.

       

      How reproducible:

      always

      Steps to Reproduce:

      1. Open OCM UI staging 
      2. Open a ready OSD/ROSA cluster.
      3. Go to "Access control" tab > Identity provider section
      4. Select "GitLab" IDP.
      5. In "Gitlab" IDP form, enter the invalid url to URL field and see the behavior.

      Actual results:

      No validation in place for the  URL field from UI side. 
      Note: Validation error thrown from back-end when user submit the definition to back-end,

      Expected results:

      User should be notified by validation error for "URL" field when wrong values are entered.User shouldn't allow to submit the data to back-end with invalid values.

        1. image-2024-08-08-12-08-16-710.png
          97 kB
          Jayakrishnan Mekkattillam
        2. image-2024-08-19-15-48-08-525.png
          42 kB
          Jayakrishnan Mekkattillam
        3. Screencast from 2024-08-12 16-40-10.mp4
          8.85 MB
          Jayakrishnan Mekkattillam

              emingora Enrique Mingorance Cano
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: