question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The freemarker templates are not compiled correctly

See original GitHub issue

Describe the bug

The following pages are not compiled correctly in the downloaded Zip file and the docker image:

Version

17.0.0

Expected behavior

Visiting http://localhost:8080/admin/master/console/#/realms/master/users The page title shall be “Users”.

Actual behavior

The page title is {{:: 'users' | translate}}

How to Reproduce?

Visit “User Federation” or “Users” pages from the left sidebar menu in the Keycloak admin console.

Anything else?

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jonkoopscommented, Feb 25, 2022

I am unable to reproduce this using Keycloak 17.0.0 in the following browsers on Fedora 34:

  • Firefox 97.0
  • Chrome 98.0.4758.102

@Arthur380 Firefox 68 is no longer supported as far as I can see, even for an extended support release. Can you use a more recent version of Firefox and confirm this is still happening there? Also which version of Chrome are you running?

Also if this error happens in Chrome, can you share a screenshot of the stack trace there? Firefox tends to butcher these since older versions have trouble reading the source maps.

@chsun68 can you also let me know what version of Firefox you are using? Please also try a more recent version if it is outdated.

0reactions
jonkoopscommented, Jul 25, 2022

Feel free to open up a PR if you like @zinginging, contributions are always welcome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Problem with FreeMarker templates compiling and caching on ...
I tried the demo application ninja-appengine-blog-archetype deployed on app engine. ... If I reload the page, same logs again... Same issue on ...
Read more >
Freemarker Configuration issue (Maven Compilation failure)
template.Configuration not found". When I try to explicitly create a Configuration object (Configuration config = new Configuration()) , Eclipse ...
Read more >
Template loading - Apache FreeMarker Manual
Template loaders. Template loaders are objects that load raw textual data based on abstract template paths like "index.ftl" or "products/catalog.ftl" .
Read more >
FAQ - Apache FreeMarker Manual
You can execute templates anywhere and anytime; no HTTP request ... for the first time (or after it was changed), because no expensive...
Read more >
Using FreeMarker with servlets
The FreemarkerServlet mapped here to the *.ftl URL pattern does the same, except that FTL files are not compiled to Servlet -s, but...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found