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

[Cluster details]Previous field validation error message still shown after reopening the "Grant role" dialog.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • A-Team
    • ACM Console Sprint 265

      Description of the Problem

      User has opened the "Grant role" dialog from the "OCM role and access" section of the "Access control" tab. User filled out a wrong redhat email or id on "Red Hat login" and tried to grant the role. This resulted in a validation error on the "Red Hat login" field as expected. User has closed the dialog and reopened the same.Unfortunately the newly opened dialog still holds the validation error from previous action wrongly although the "Red Hat login" value is empty. This is wrong and looks like an issue with clearing the field validation.

      See attached recording Screen Recording 2025-01-02 at 3.27.41 PM.mov

      Note: The issue appears only on staging not in production env. Hence suspecting that it could be regression issue on recent multiregion MR merges.

       

      How reproducible:

      Always

      Steps to Reproduce:

      1. Open OCM UI staging
      2. Open a ready cluster (ex: ROSA classic).
      3. Go to "Access control" tab.
      4. Click "OCM roles and access" then click "Grant role" button.
      5. Fill the "Red Hat login" as "test" and select any role.
      6. Click "Grant user" and note the field validation error.
      7. Click "Cancel" button  or close button of the dialog.
      8. Click "OCM roles and access" then click "Grant role" button.
      9. See the behavior of validation error message.

      Actual results:

      At step 9, the field validation error message from previous step i.e. step 6 is shown against the "Red Hat login". It looks wrong.

      Expected results:

      At step 9, there shouldn't be any field validation error message when user opens "grant role" dialog .

              rh-ee-daznauro David Aznaurov
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: