pen one
12/01/2020, 9:09 PMThe following has evaluated to null or missing:
==> results [in template "template" at line 1, column 103]
----
Tip: If the failing expression is known to be 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: #if results?size != 0 [in template "template" at line 1, column 98]
What am I doing wrong? I have never encountered this when making advanced pdf's for other transactions or custom records and am not sure what the problem is. Any ideasMars
12/02/2020, 11:51 AM?has_content
instead of `?size != 0`; but you should really add more context here. We can only guess the problem if you can't show the whole line (and a few lines before/after).