[ https://issues.apache.org/jira/browse/OFBIZ-5086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashish Vijaywargiya closed OFBIZ-5086. -------------------------------------- Resolution: Not a Problem Based on Arun's recent comment we can close this issue. > Wrong order confirmation email template > --------------------------------------- > > Key: OFBIZ-5086 > URL: https://issues.apache.org/jira/browse/OFBIZ-5086 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Release Branch 10.04 > Reporter: Sergei Biletnikov > Assignee: Ashish Vijaywargiya > Priority: Minor > > Install release 10.04 from the branch with demo data, > open any order and click "Send a confirmation email" (button). > for example: > https://localhost:8443/ordermgr/control/confirmationmailedit?orderId=DEMO_B2B_IT02&partyId=DemoCustomer&sendTo=ofbizt...@yahoo.com > Look at the generated html template, you will see the following : > Method public java.lang.String > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws > org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@1d829e59 with arguments of types > [java.lang.String,] > The problematic instruction: > ---------- > ==> > ${screens.render(productStoreEmailSetting.bodyScreenLocation?default(""))} > [on line 82, column 63 in > component://order/webapp/ordermgr/order/sendconfirmationemail.ftl] > ---------- > Java backtrace for programmers: > ---------- > freemarker.template.TemplateModelException: Method public java.lang.String > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws > org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@1d829e59 with arguments of types > [java.lang.String,] > at > freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) > at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) > .............................. -- This message was sent by Atlassian JIRA (v6.3.4#6332)