Encourage users to report errors in logs
This commit is contained in:
18
README.md
18
README.md
@ -76,6 +76,7 @@ If you already have a Keycloak custom theme, it can be easily ported to Keycloak
|
|||||||
- [Possible workarounds](#possible-workarounds)
|
- [Possible workarounds](#possible-workarounds)
|
||||||
- [Implement context persistence (optional)](#implement-context-persistence-optional)
|
- [Implement context persistence (optional)](#implement-context-persistence-optional)
|
||||||
- [Kickstart video](#kickstart-video)
|
- [Kickstart video](#kickstart-video)
|
||||||
|
- [FTL errors related to `ftl_object_to_js_code_declaring_an_object` in Keycloak logs.](#ftl-errors-related-to-ftl_object_to_js_code_declaring_an_object-in-keycloak-logs)
|
||||||
- [Adding custom message (to `i18n/useKcMessage.tsx`)](#adding-custom-message-to-i18nusekcmessagetsx)
|
- [Adding custom message (to `i18n/useKcMessage.tsx`)](#adding-custom-message-to-i18nusekcmessagetsx)
|
||||||
- [Email domain whitelist](#email-domain-whitelist)
|
- [Email domain whitelist](#email-domain-whitelist)
|
||||||
- [Changelog highlights](#changelog-highlights)
|
- [Changelog highlights](#changelog-highlights)
|
||||||
@ -436,6 +437,23 @@ flash of the blank html before the js bundle have been evaluated
|
|||||||
_NOTE: keycloak-react-theming was renamed keycloakify since this video was recorded_
|
_NOTE: keycloak-react-theming was renamed keycloakify since this video was recorded_
|
||||||
[](https://youtu.be/xTz0Rj7i2v8)
|
[](https://youtu.be/xTz0Rj7i2v8)
|
||||||
|
|
||||||
|
# FTL errors related to `ftl_object_to_js_code_declaring_an_object` in Keycloak logs.
|
||||||
|
|
||||||
|
If you ever encounter one of these errors:
|
||||||
|
|
||||||
|
```log
|
||||||
|
FTL stack trace ("~" means nesting-related):
|
||||||
|
- Failed at: #local value = object[key] [in template "login.ftl" in macro "ftl_object_to_js_code_declaring_an_object" at line 70, column 21]
|
||||||
|
- Reached through: @compress [in template "login.ftl" in macro "ftl_object_to_js_code_declaring_an_object" at line 36, column 5]
|
||||||
|
- Reached through: @ftl_object_to_js_code_declaring_an_object object=value depth=(dep... [in template "login.ftl" in macro "ftl_object_to_js_code_declaring_an_object" at line 81, column 27]
|
||||||
|
- Reached through: @compress [in template "login.ftl" in macro "ftl_object_to_js_code_declaring_an_object" at line 36, column 5]
|
||||||
|
- Reached through: @ftl_object_to_js_code_declaring_an_object object=(.data_model) de... [in template "login.ftl" at line 163, column 43]
|
||||||
|
```
|
||||||
|
|
||||||
|
It's just noise, they can be safely ignored.
|
||||||
|
You can, however, and are encouraged to, report any that you would spot.
|
||||||
|
Just open an issue about it and I will release a patched version of Keycloakify in the better delays.
|
||||||
|
|
||||||
# Adding custom message (to `i18n/useKcMessage.tsx`)
|
# Adding custom message (to `i18n/useKcMessage.tsx`)
|
||||||
|
|
||||||
You can reproduce [this approach](https://github.com/garronej/keycloakify-demo-app/blob/main/src/kcMessagesExtension.ts)
|
You can reproduce [this approach](https://github.com/garronej/keycloakify-demo-app/blob/main/src/kcMessagesExtension.ts)
|
||||||
|
Reference in New Issue
Block a user