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

[ROSA wizard] Wizard broken with error while searching VPC in VPC settings step.

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Core UI
    • False
    • Hide

      None

      Show
      None
    • False

      Description of the issue
      User has selected a VPC , Availability zone and subnets from the VPC settings step of ROSA wizard with custom VPC flow. When user came back to the VPC settings step after few steps (ex: VPC Settings > CIDR  > VPC settings with the help of back button) and user tried to click and search a VPC value from Select VPC drop-down , the wizard broken with inline error.

      Uncaught Error: Cannot delete non-numerical index from an array. Given: "touched
          at m (deleteIn.js:47:13)
          at m (deleteIn.js:37:38)
          at m (deleteIn.js:37:38)
          at deleteIn (deleteIn.js:74:27)
          at createReducer.js:575:23
          at Array.forEach (<anonymous>)
          at f.<computed> (createReducer.js:574:12)
          at createReducer.js:630:23
          at createReducer.js:658:20
          at redux.js:560:29
          at g (redux.js:288:22)
          at sentryMiddleware.ts:31:10
          at notificationsMiddleware.js:116:17
          at index.js:92:18
          at promiseRejectionMiddleware.ts:17:10
          at index.js:11:16
          at middleware.js:26:18
          at redux.js:578:12
          at VPCScreen.jsx:31:7
          at commitHookEffectListMount (chrome-root.ef2664ff17126cff.js:44134:26)
          at commitPassiveMountOnFiber (chrome-root.ef2664ff17126cff.js:45915:11)
          at commitPassiveMountEffects_complete (chrome-root.ef2664ff17126cff.js:45875:9)
          at commitPassiveMountEffects_begin (chrome-root.ef2664ff17126cff.js:45862:7)
          at commitPassiveMountEffects (chrome-root.ef2664ff17126cff.js:45850:3)
          at flushPassiveEffectsImpl (chrome-root.ef2664ff17126cff.js:48023:3)
          at flushPassiveEffects (chrome-root.ef2664ff17126cff.js:47968:14)
          at commitRootImpl (chrome-root.ef2664ff17126cff.js:47919:5)
          at commitRoot (chrome-root.ef2664ff17126cff.js:47666:5)
          at performSyncWorkOnRoot (chrome-root.ef2664ff17126cff.js:47101:3)
          at flushSyncCallbacks (chrome-root.ef2664ff17126cff.js:33031:22)
          at flushSync (chrome-root.ef2664ff17126cff.js:47185:7)
          at finishEventHandler (chrome-root.ef2664ff17126cff.js:24965:5)
          at batchedUpdates (chrome-root.ef2664ff17126cff.js:24983:5)
          at dispatchEventForPluginEventSystem (chrome-root.ef2664ff17126cff.js:30276:3)
          at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (chrome-root.ef2664ff17126cff.js:27454:5)
          at dispatchEvent (chrome-root.ef2664ff17126cff.js:27446:5)
          at dispatchDiscreteEvent (chrome-root.ef2664ff17126cff.js:27419:5) 

      see recording WidgetErrorWizard.mp4

      Steps to Reproduce:

      1. Launch OCM UI staging.
      2. Open ROSA wizard as "Classic".
      3. Reach to "Networking" step and choose "public" cluster privacy.
      4. Check "Install into existing VPC" and click "Next" button.
      5. In VPC Settings step, Select the VPC and related subnet definitions.
      6. Click "Next" button then click "back" button.
      7. Click on "Select VPC" drop-down and type a text.
      8. See the behavior.

      Actual results:

       Wizard broken with above error and relaunch of wizard required to come out of the situation.

      Expected results:

      Wizard shouldn't broke in above situation and user should able to search the VPC value.

        1. image-2024-02-08-19-53-53-264.png
          image-2024-02-08-19-53-53-264.png
          225 kB
        2. WidgetErrorWizard.mp4
          3.79 MB
        3. BrokenWizard.mp4
          3.36 MB

              rh-ee-camadorg Celia Amador Gonzalez
              jmekkatt@redhat.com Jayakrishnan Mekkattillam
              Jayakrishnan Mekkattillam Jayakrishnan Mekkattillam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: