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

Cluster wide proxy throws error when closing modal

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • A-Team
    • ACM Console Sprint 263

      In multi region version ClusterWideProxy throws a runtime error when user opens and tries to close the modal.

      The problem lies in EditClusterWideProxyDialog.jsx on line 40. 

      resetEditClusterResponse() function which is used from useEditCluster react query on line 28. 

      It seems React Query does not have reset on useQuery and it needs to be updated to use either refetch or invalidateQuery

       

      Note for QE: 

      The modal is located at the bottom of the Networking tab {}> Edit cluster{-}wide proxy

              rh-ee-daznauro David Aznaurov
              rh-ee-daznauro David Aznaurov
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: