Hello,
I’ve been running on r5664, but am looking to move up to the newest version. I updated to r6418 and then r6445 but I can not get the PDF option to render when viewing an order. From the error message it looks like an improvement in r6108 “New and improved company header for order receipts and other PDFs: it will now retrieve company information and logo from the database settings.” is the culprit.
How do I check and correct my company info and logo in the database? Is that really the problem?
Here is the log excerpt…. Can’t wait to understand this better so I can contribute….
Mark M
Expression postalAddress is undefined on line 13, column 31 in companyHeader.fo.ftl.
The problematic instruction:
----------
==> ${postalAddress.address1?if_exists} [on line 13, column 29 in companyHeader.fo.ftl]
----------
Java backtrace for programmers:
----------
freemarker.core.InvalidReferenceException: Expression postalAddress is undefined on line 13, column 31 in companyHeader.fo.ftl.
Exception: org.ofbiz.base.util.GeneralException
Message: Error rendering screen [CompanyLogo]: java.lang.RuntimeException: Error rendering included template at location [component://order/webapp/ordermgr/order/companyHeader.fo.ftl]: freemarker.core.InvalidReferenceException: Expression postalAddress is undefined on line 13, column 31 in companyHeader.fo.ftl. (Error rendering included template at location [component://order/webapp/ordermgr/order/companyHeader.fo.ftl]: freemarker.core.InvalidReferenceException: Expression postalAddress is undefined on line 13, column 31 in companyHeader.fo.ftl.)
Free forum by Nabble | Edit this page |