Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

login-config-totp.ftl error #43

Open
mihaiblandu opened this issue Apr 2, 2023 · 0 comments
Open

login-config-totp.ftl error #43

mihaiblandu opened this issue Apr 2, 2023 · 0 comments

Comments

@mihaiblandu
Copy link

If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??


FTL stack trace ("~" means nesting-related):
- Failed at: #list totp.supportedApplications as app [in template " If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??


FTL stack trace ("~" means nesting-related):
- Failed at: #list totp.supportedApplications as app [in template "login-config-totp.ftl" at line 26, column 11]
~ Reached through: #nested "form" [in template "template.ftl" in macro "registrationLayout" at line 45, column 5]
~ Reached through: @layout.registrationLayout displayMes... [in template "login-config-totp.ftl" at line 13, column " at line 26, column 11]
~ Reached through: #nested "form" [in template "template.ftl" in macro "registrationLayout" at line 45, column 5]
~ Reached through: @layout.registrationLayout displayMes... [in template "login-config-totp.ftl" at line 13, column

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant