keycloak-ui
keycloak-ui copied to clipboard
Enabling Internationalization gives an error
Describe the bug
Enabling Internationalization gives the following error:
undefined is not an object (evaluating 'U.login[0].locales.map')
Version
999-SNAPSHOT
Expected behavior
Internationalization should be enabled and supported locales should be editable.
Actual behavior
undefined is not an object (evaluating 'U.login[0].locales.map')
How to Reproduce?
Launch Keycloak Login Select "Realm settings" Select "Localization" tab Enable Internationalization
Anything else?
No response
Hi @douglaspalmer. I tried this on the latest nightly build and I don't see the error. How old is your build?
I had a fresh rebase of Keycloak/main. I can check tomorrow to make sure it isn’t cause by my changes.
On Sep 17, 2022, at 1:14 PM, Stan Silvert @.***> wrote:
Hi @douglaspalmer https://github.com/douglaspalmer. I tried this on the latest nightly build and I don't see the error. How old is your build?
— Reply to this email directly, view it on GitHub https://github.com/keycloak/keycloak-ui/issues/3357#issuecomment-1250134225, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4Z4MTANJACJXB7XXTPNDV6YRDFANCNFSM6AAAAAAQO272YY. You are receiving this because you were mentioned.
I can't reproduce this, there are tests for this as well are you sure this isn't something on your end?
I tried this on Safari and Chrome on OSX. Same error on both.
I’m running from HEAD of main.
mvn clean install -Pdistribution -DskipTests mvn exec:java -Pkeycloak-server $* -f testsuite/utils/pom.xml
On Sep 20, 2022, at 4:25 AM, Erik Jan de Wit @.***> wrote:
I can't reproduce this, there are tests for this as well are you sure this isn't something on your end?
— Reply to this email directly, view it on GitHub https://github.com/keycloak/keycloak-ui/issues/3357#issuecomment-1252213460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4Z4L5PKHFL4NTJNHIFU3V7GNKFANCNFSM6AAAAAAQO272YY. You are receiving this because you were mentioned.
@douglaspalmer Are you running the new admin console ( keycloak.v2
theme)?
The new admin console appears to be the default now.
On Sep 20, 2022, at 1:15 PM, Stan Silvert @.***> wrote:
@douglaspalmer https://github.com/douglaspalmer Are you running the new admin console ( keycloak.v2 theme)?
— Reply to this email directly, view it on GitHub https://github.com/keycloak/keycloak-ui/issues/3357#issuecomment-1252864615, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4Z4LFUUKTF2CBFUKN2E3V7ILPLANCNFSM6AAAAAAQO272YY. You are receiving this because you were mentioned.
@douglaspalmer could you attempt to reproduce this with the latest development version of the Admin UI? You can the latest nightly here: https://github.com/keycloak/keycloak/releases/tag/nightly
@douglaspalmer @jonkoops I'm pretty sure this has something to do with the way it is being run from testsuite.
This is how the keycloak readme says to run for developers of keycloak. But none of us on the UI team do it that way.
@douglaspalmer Unless you are otherwise unable to get any work done, I'm going to set this as medium priority.
Is it still possible to run the v1 console?
On Sep 21, 2022, at 11:19 AM, Stan Silvert @.***> wrote:
@douglaspalmer https://github.com/douglaspalmer @jonkoops https://github.com/jonkoops I'm pretty sure this has something to do with the way it is being run from testsuite.
This is how the keycloak readme says to run for developers of keycloak. But none of us on the UI team do it that way.
@douglaspalmer https://github.com/douglaspalmer Unless you are otherwise unable to get any work done, I'm going to set this as medium priority.
— Reply to this email directly, view it on GitHub https://github.com/keycloak/keycloak-ui/issues/3357#issuecomment-1254066048, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE4Z4P6OMBXPXFTBGAYBUTV7NGRJANCNFSM6AAAAAAQO272YY. You are receiving this because you were mentioned.
@douglaspalmer Yes. Just go to Realm settings --> Themes. Then change admin theme to keycloak
and refresh your browser.