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:
- Launch OCM UI staging.
- Open ROSA wizard as "Classic".
- Reach to "Networking" step and choose "public" cluster privacy.
- Check "Install into existing VPC" and click "Next" button.
- In VPC Settings step, Select the VPC and related subnet definitions.
- Click "Next" button then click "back" button.
- Click on "Select VPC" drop-down and type a text.
- 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.
- depends on
-
OCMUI-511 [Rosa Classic] VPC settings step - Add subnet dropdowns
- Closed
- links to