[ https://issues.apache.org/jira/browse/OFBIZ-7331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mohammed Rehan Khan updated OFBIZ-7331: --------------------------------------- Attachment: OFBIZ-7331.patch Here is the patch for this issue. As we are getting ClassNotFound exception on console. So only changed the reference of EntityUtilProperties class. > Getting console error while reading property value > -------------------------------------------------- > > Key: OFBIZ-7331 > URL: https://issues.apache.org/jira/browse/OFBIZ-7331 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/ecommerce > Affects Versions: Trunk > Reporter: Mohammed Rehan Khan > Assignee: Mohammed Rehan Khan > Attachments: OFBIZ-7331.patch > > > We are getting same console error on following two screens. > Steps to regenerate: > 1) Go to eCommerce > 2) Click on Register link > 3) After click on register link, we can see error on console. > 1) Now click on profile link > 2) Click on create new contact information link > 3) select "postal address" contact type and click on create button > 4) After click on create button, we can see error on console. > Console Error: > {code} > Error executing FreeMarker template > [java] freemarker.template.TemplateModelException: No error description was specified for this error; low-level message: java.lang.ClassNotFoundException: org.ofbiz.base.util.EntityUtilProperties > [java] > [java] ---- > [java] FTL stack trace ("~" means nesting-related): > [java] - Failed at: #assign defaultCountryGeoId = Static[... [in template "component://ecommerce/template/customer/EditContactMech.ftl" at line 185, column 13] > [java] ---- > [java] at freemarker.ext.beans.ClassBasedModelFactory.get(ClassBasedModelFactory.java:52) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.DynamicKeyName.dealWithStringKey(DynamicKeyName.java:140) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.DynamicKeyName._eval(DynamicKeyName.java:75) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Dot._eval(Dot.java:41) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.MethodCall._eval(MethodCall.java:58) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Expression.eval(Expression.java:81) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Assignment.accept(Assignment.java:134) ~[freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:326) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.visit(Environment.java:332) [freemarker-2.3.24.jar:2.3.24] > [java] at freemarker.core.Environment.process(Environment.java:305) [freemarker-2.3.24.jar:2.3.24] > [java] at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:261) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) |
Free forum by Nabble | Edit this page |