Description
Before reporting an issue
- I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
infinispan
Describe the bug
The commands declared here:
bin/kc.[sh|bat] start --spi-theme--static-max-age=-1 --spi-theme--cache-themes=false --spi-theme-cache--templates=false
use double dashes instead of single ones.
They should be written as:
bin/kc.[sh|bat] start --spi-theme-static-max-age=-1 --spi-theme-cache-themes=false --spi-theme-cache-templates=false
File: server_development/topics/themes.adoc
Version
26.3.0
Regression
- The issue is a regression
Expected behavior
If I edit some files directly in the themes folder without restarting Keycloak, the modifications should be applied automatically.
Actual behavior
When using the command with the correct double dashes, the problem doesn’t occur.
How to Reproduce?
Start Keycloak with the following options:
bin/kc.[sh|bat] start --spi-theme--static-max-age=-1 --spi-theme--cache-themes=false --spi-theme-cache--templates=false
Load a theme and make a hot change to it. Verify that the change has no effect.
Now change the command to:
bin/kc.[sh|bat] start --spi-theme-static-max-age=-1 --spi-theme-cache-themes=false --spi-theme-cache-templates=false
and check that it works.
Anything else?
No response