keycloak-ui icon indicating copy to clipboard operation
keycloak-ui copied to clipboard

missing = in const declaration in Events (Firefox)

Open ludydoo opened this issue 2 years ago • 5 comments

Describe the bug

On a brand new fresh install, opening the events tab on Firefox generates an error missing = in const declaration. Issue does not appear on Chrome.

image

Version

quay.io/keycloak/keycloak:19.0.3

Expected behavior

No error shown when opening the Events tab.

Actual behavior

Error appears on the main section missing = in const declaration. The ui is frozen and the tab has to be refreshed.

How to Reproduce?

  1. Fresh install of quay.io/keycloak/keycloak:19.0.3
  2. Open the admin console in Firefox (105.0.2)
  3. Open the Events tab

Anything else?

No response

ludydoo avatar Oct 09 '22 18:10 ludydoo

@ludydoo I was not able to reproduce this with the latest code. Can you try out the nightly build and let us know if you still see a problem?

https://github.com/keycloak/keycloak/releases/tag/nightly

ssilvert avatar Oct 10 '22 12:10 ssilvert

Hi @ssilvert , thank you for your reply. I can try it. Do you know if there's an "easy" way to deploy the nightly build using the keycloak operator (candidate channel)?

ludydoo avatar Oct 10 '22 13:10 ludydoo

@ludydoo Not off hand, but I'm sure you can get some help with that. See https://www.keycloak.org/community

ssilvert avatar Oct 10 '22 16:10 ssilvert

@jonkoops There is some more info in this discussion. Could this be the infamous FireFox cookie issue?

ssilvert avatar Oct 17 '22 19:10 ssilvert

@ssilvert it's the same issue you linked in the discussion, however it's not related to cookies. Firefox always shows that warning, but it's unrelated to this specific issue.

@ludydoo there should be no need to deploy this as an operator, instead you can run the nightly in standalone mode.

jonkoops avatar Oct 18 '22 09:10 jonkoops

@ludydoo Can you try disabling all plugins in Firefox or in the Private window with plugins disabled? Its working for me in private window

sirishkumar avatar Oct 20 '22 10:10 sirishkumar

It's been a while since there was activity on this issue so I am going to go ahead and assume the problem is unrelated to our code. Feel free to let me know if this is not the case and I will re-open it.

jonkoops avatar Oct 25 '22 22:10 jonkoops

Sorry I haven't had the time to check this up. I can confirm that somehow the problem is gone when running with

docker run -p 8080:8080 -e KEYCLOAK_ADMIN=admin -e KEYCLOAK_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:19.0.3 start-dev

ludydoo avatar Oct 26 '22 04:10 ludydoo

Thanks for verifying this @ludydoo!

jonkoops avatar Oct 27 '22 10:10 jonkoops