Description of problem:
In ready ROSA HCP cluster, User tried to modify the machine pool node count definition from "Edit machine pool". As a result of the same i.e during save action widget broken with type error as below.
Uncaught TypeError: e is undefined y clusterStates.ts:156 r useMachinePools.ts:14 je EditMachinePoolModal.tsx:253 renderWithHooks chrome-root.bd990a4b339b480a.js:37294 updateFunctionComponent chrome-root.bd990a4b339b480a.js:40572 beginWork chrome-root.bd990a4b339b480a.js:42585 callCallback chrome-root.bd990a4b339b480a.js:25153 o helpers.js:72 invokeGuardedCallbackDev chrome-root.bd990a4b339b480a.js:25202 invokeGuardedCallback chrome-root.bd990a4b339b480a.js:25266 beginWork$1 chrome-root.bd990a4b339b480a.js:48435 performUnitOfWork chrome-root.bd990a4b339b480a.js:47544 workLoopSync chrome-root.bd990a4b339b480a.js:47450 renderRootSync chrome-root.bd990a4b339b480a.js:47418 recoverFromConcurrentError chrome-root.bd990a4b339b480a.js:46834 performSyncWorkOnRoot chrome-root.bd990a4b339b480a.js:47080 flushSyncCallbacks chrome-root.bd990a4b339b480a.js:33031 ensureRootIsScheduled chrome-root.bd990a4b339b480a.js:46635 clusterStates.ts:156:2 y clusterStates.ts:156 r useMachinePools.ts:14 je EditMachinePoolModal.tsx:253 renderWithHooks chrome-root.bd990a4b339b480a.js:37294 updateFunctionComponent chrome-root.bd990a4b339b480a.js:40572 beginWork chrome-root.bd990a4b339b480a.js:42585 callCallback chrome-root.bd990a4b339b480a.js:25153 o helpers.js:72 invokeGuardedCallbackDev chrome-root.bd990a4b339b480a.js:25202 invokeGuardedCallback chrome-root.bd990a4b339b480a.js:25266 beginWork$1 chrome-root.bd990a4b339b480a.js:48435 performUnitOfWork chrome-root.bd990a4b339b480a.js:47544 workLoopSync chrome-root.bd990a4b339b480a.js:47450 renderRootSync chrome-root.bd990a4b339b480a.js:47418 recoverFromConcurrentError chrome-root.bd990a4b339b480a.js:46834 performSyncWorkOnRoot chrome-root.bd990a4b339b480a.js:47080 flushSyncCallbacks chrome-root.bd990a4b339b480a.js:33031 ensureRootIsScheduled chrome-root.bd990a4b339b480a.js:46635
How reproducible:
always
Steps to Reproduce:
- Open OCM UI staging.
- Open a ready ROSA Hypershift cluster.
- Go to Action context menu > "Edit machine pool" option.
- Change the node count definition like enable autoscale or disable autoscale option for random machine pools.
- Click "Save" button.
- View the behavior.
Actual results:
Save action failed with Type error while user tries to update the definition from "Edit machine pool" dialog.
Expected results:
Save action from "Edit machine pool" should be successful.
- is related to
-
OCMUI-551 [Hypershift ROSA] OCM UI Regression tests (in Staging) for GA release
- Closed
- relates to
-
OCMUI-1099 [OCM UI] Type error seen while saving "Edit machine pool" definition.
- Closed
- mentioned on