New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin Console doesn't show user when user attribute has annotation inputType #23740
Comments
In addition to this bug, we discovered that attributes are not send or retrieved by the Admin console user view in 22.0.4. Also on nightly it wasn't possible to store a value without error in JS console. Do we need to report this as own bug? (Did not search if it already is.) Update: Created #23774 |
I guess this is related to #23180 which is closed. |
#23180 should have been in 22.0.4. We are making some fixes in this area right now. I'll give everyone a heads up to make sure the bugs reported here are addressed. |
This was back-ported, see #23180 (comment). But it was never the whole fix. |
Yes, it most certainly is. And it will be fixed by #23537. |
Backports keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774, keycloak#22982 Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Backports keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774, keycloak#22982 Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Retested with nightly, looks good now. Thanks for fast fixing! |
Thanks for verifying that @jbman, we'll likely have a patch release next week if all goes well. |
Backports keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774, keycloak#22982 Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Backports keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774, keycloak#22982 Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Backports keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774, keycloak#22982 Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Closes keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774 Co-authored-by: Jon Koops <jonkoops@gmail.com>
Closes keycloak#23507, keycloak#23584, keycloak#23740, keycloak#23774 Co-authored-by: Jon Koops <jonkoops@gmail.com> Signed-off-by: Kamontat Chantrachirathumrong <14089557+kamontat@users.noreply.github.com>
Before reporting an issue
Area
admin/ui
Describe the bug
When user profile is activated and an attribute has annotation with key "inputType" (e.g. inputType=select) then the user view just shows error message "undefined has no properties".
Version
22.0.4
Expected behavior
User view is rendered
Actual behavior
Error is shown
Browser console shows at react-dom.production.min.js:189:29
TypeError: undefined has no properties D SelectComponent.tsx:16 React 9 Ot EditUser.tsx:121 useFetch useFetch.ts:33 promise callback*useFetch/< useFetch.ts:31 React 6 Xr EditUser.tsx:81 useFetch useFetch.ts:33 promise callback*useFetch/< useFetch.ts:31 React 3 ct scheduler.production.min.js:13 At scheduler.production.min.js:14 EventHandlerNonNull* scheduler.production.min.js:14 <anonymous> scheduler.production.min.js:19 react-dom.production.min.js:189:29 React 12 Ot EditUser.tsx:121 useFetch useFetch.ts:33 (Async: promise callback) useFetch useFetch.ts:31 React 6 Xr EditUser.tsx:81 useFetch useFetch.ts:33 (Async: promise callback) useFetch useFetch.ts:31 React 3 ct scheduler.production.min.js:13 At scheduler.production.min.js:14 (Async: EventHandlerNonNull) <anonymous> scheduler.production.min.js:14 <anonymous> scheduler.production.min.js:19
How to Reproduce?
Anything else?
Could reproduce with 22.0.4 but not with latest nightly release.
The text was updated successfully, but these errors were encountered: