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

[Data sovereignty] "Edit cluster-wide proxy" action fails and breaks the "Networking" tab with a type error.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • A-Team
    • False
    • Hide

      None

      Show
      None
    • False

      Description of the Problem
      In multiregion enabled env, User has opened a ROSA hosted cluster and tried to edit the cluster wide proxy couple of times from Networking tab. During second action , the page reported type error as below .

      TypeError: Cannot destructure property 'errorMessage' of 'e' as it is undefined.
          at s (ErrorDetailsDisplay.tsx:22:11)
          at bi (chrome-root.d6ec82adcca2f232.js:2:197413)
          at Sl (chrome-root.d6ec82adcca2f232.js:2:256728)
          at vs (chrome-root.d6ec82adcca2f232.js:2:245880)
          at ys (chrome-root.d6ec82adcca2f232.js:2:245808)
          at bs (chrome-root.d6ec82adcca2f232.js:2:245671)
          at os (chrome-root.d6ec82adcca2f232.js:2:242478)
          at ls (chrome-root.d6ec82adcca2f232.js:2:242867)
          at za (chrome-root.d6ec82adcca2f232.js:2:183766)
          at chrome-root.d6ec82adcca2f232.js:2:240415 

      See the attached recordings Screen Recording 2024-12-09 at 12.59.36 PM.mov

      How reproducible:

      Always

      Steps to Reproduce:

      1. Open OCM UI staging using https://console.dev.redhat.com/openshift/?multiregion=true 
      2. Open a ready ROSA hosted cluster.
      3. Go to networking tab.
      4. Click on "Edit cluster-wide proxy" button.
      5. Update the proxy definition and click "Save" button from the model.
      6. Click again "Edit cluster-wide proxy" button and see the behavior.

      Actual results:

      At step 6, Networking tab broken with type error as mentioned above.

      Expected results:

      At step 6, The "Edit cluster-wide proxy" model should open without any issue.

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

                Created:
                Updated:
                Resolved: