Description of the problem:
The widget layout broken with inline error when user tried to auto fill the suggested passsword from HTPasswd IDP section for a ready cluster.
logs from browser console as below
helpers.js:88 Uncaught Error: Objects are not valid as a React child (found: object with keys {emptyPassword, baseRequirements, uppercase, lowercase, numbersOrSymbols}). If you meant to render a collection of children, use an array instead.
at throwOnInvalidObjectType (chrome-root.ef2664ff17126cff.js:35876:9)
at createChild (chrome-root.ef2664ff17126cff.js:36128:7)
at reconcileChildrenArray (chrome-root.ef2664ff17126cff.js:36393:25)
at reconcileChildFibers (chrome-root.ef2664ff17126cff.js:36810:16)
at reconcileChildren (chrome-root.ef2664ff17126cff.js:40151:28)
at updateHostComponent (chrome-root.ef2664ff17126cff.js:40908:3)
at beginWork (chrome-root.ef2664ff17126cff.js:42602:14)
at HTMLUnknownElement.callCallback (chrome-root.ef2664ff17126cff.js:25153:14)
at HTMLUnknownElement.o (helpers.js:72:23)
at Object.invokeGuardedCallbackDev (chrome-root.ef2664ff17126cff.js:25202:16)
at invokeGuardedCallback (chrome-root.ef2664ff17126cff.js:25266:31)
at beginWork$1 (chrome-root.ef2664ff17126cff.js:48435:7)
at performUnitOfWork (chrome-root.ef2664ff17126cff.js:47544:12)
at workLoopSync (chrome-root.ef2664ff17126cff.js:47450:5)
at renderRootSync (chrome-root.ef2664ff17126cff.js:47418:7)
at performSyncWorkOnRoot (chrome-root.ef2664ff17126cff.js:47069:20)
at flushSyncCallbacks (chrome-root.ef2664ff17126cff.js:33031:22)
at chrome-root.ef2664ff17126cff.js:46635:13
Steps to reproduce:
- Launch OCM Staging UI.
- Open a ready ROSA cluster.
- Go to "Access control" > "Identity provider" > "HTPasswd".
- Fill user name and click on password field.
- Click on suggested password and see the behavior.
Actual results:
As soon as user selects the suggested password from Step 5, the widget broken with above error.
Expected results:
The suggested password should fill in password field without any issue. User should be allowed to create the HTPasswd.
This was happening across all the browsers and tested with chrome, edge and firefox.
- relates to
-
OCMUI-513 PatternFly 5 Adoption
-
- Closed
-
- mentioned on