we have upgraded Words.jdk16 - from 15.05 to 20.12 recently and some documents have problems when generated to PDF
I have attached simplified template which we have and result in docx where can be seen value NEWREQDATELETTER is not properly shown. We believe mergefield in if statement is not properly evaluated. Then later on in the conversion they are evaluated to true, but the data is no longer available to replace the merge field. Placeholder variable to hold the value of the merge field outside of the conditional fixed the problem.
We would like to ask you what changed or what we do wrong/ need to change in order to make it work. We would like to have some workaround instead of changing it in every template.
.Examples.zip (83.6 KB)