when-present<#else>when-missing. (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: ${_staticVersion} [in template "captchaGlabal/captchaGlobal.ftl" at line 10, column 70] ----]"/> when-present<#else>when-missing. (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: ${_staticVersion} [in template "captchaGlabal/captchaGlobal.ftl" at line 11, column 81] ----]"/>