Hi all,
When i start ecommerce application and choose Round Gizmo to see the product details i get an error. It looks like this product donot have productName. The productName is removed here(r478365 an example of product name and description i18n.) Is it removed intentionally? Best regards, Bilgin Ibryam Here is the error message: Try these instead of Expression productValue.productName is undefined on line 568, column 70 in productdetail.ftl. The problematic instruction: ---------- ==> ${productValue.productName} [on line 568, column 68 in productdetail.ftl] in user-directive associated [on line 604, column 5 in productdetail.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression productValue.productName is undefined on line 568, column 70 in productdetail.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.Expression.getStringValue(Expression.java:118) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Macro$Context.runMacro(Macro.java:164) at freemarker.core.Environment.visit(Environment.java:537) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:128) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at freemarker.template.Template.process(Template.java:232) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:173) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:74) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:102) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:61) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:794) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:393) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:520) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:181) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:542) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:488) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) |
Administrator
|
Bilgin,
Seems to work here : http://demo.dejc.com:8080/ecommerce/control/product/~category_id=PROMOTIONS/~product_id=GZ-2644 Works also on my server (updated few days ago) Jacques ----- Original Message ----- From: "Bilgin Ibryam" <[hidden email]> To: <[hidden email]> Sent: Wednesday, December 06, 2006 4:50 PM Subject: Ecommerce error > Hi all, > When i start ecommerce application and choose Round Gizmo to see the > product details i get an error. It looks like this product donot have > productName. The productName is removed here(r478365 an example of > product name and description i18n.) Is it removed intentionally? > Best regards, > Bilgin Ibryam > > Here is the error message: > Try these instead of Expression productValue.productName is undefined on > line 568, column 70 in productdetail.ftl. The problematic instruction: > ---------- ==> ${productValue.productName} [on line 568, column 68 in > productdetail.ftl] in user-directive associated [on line 604, column 5 > in productdetail.ftl] ---------- Java backtrace for programmers: > ---------- freemarker.core.InvalidReferenceException: Expression > productValue.productName is undefined on line 568, column 70 in > productdetail.ftl. at > freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at > freemarker.core.Expression.getStringValue(Expression.java:118) at > freemarker.core.Expression.getStringValue(Expression.java:93) at > freemarker.core.DollarVariable.accept(DollarVariable.java:76) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Macro$Context.runMacro(Macro.java:164) at > freemarker.core.Environment.visit(Environment.java:537) at > freemarker.core.UnifiedCall.accept(UnifiedCall.java:128) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Environment.process(Environment.java:176) at > freemarker.template.Template.process(Template.java:232) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:173) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:102) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:61) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:794) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:393) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.render! > WidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:520) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:181) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:542) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScree! > nWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:488) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)! > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLog! > Valve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector..CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) > > |
Administrator
|
In reply to this post by Bilgin Ibryam
Bilgin,
Yes it was removed intentionaly by Si in a praiseworthy effort of i18n of product (demo of 1 product). 2 localisations were forgotten in eCommerce, corrected in revision: 483266 . Thanks for your report Jacques ----- Original Message ----- From: "Bilgin Ibryam" <[hidden email]> To: <[hidden email]> Sent: Wednesday, December 06, 2006 4:50 PM Subject: Ecommerce error > Hi all, > When i start ecommerce application and choose Round Gizmo to see the > product details i get an error. It looks like this product donot have > productName. The productName is removed here(r478365 an example of > product name and description i18n.) Is it removed intentionally? > Best regards, > Bilgin Ibryam > > Here is the error message: > Try these instead of Expression productValue.productName is undefined on > line 568, column 70 in productdetail.ftl. The problematic instruction: > ---------- ==> ${productValue.productName} [on line 568, column 68 in > productdetail.ftl] in user-directive associated [on line 604, column 5 > in productdetail.ftl] ---------- Java backtrace for programmers: > ---------- freemarker.core.InvalidReferenceException: Expression > productValue.productName is undefined on line 568, column 70 in > productdetail.ftl. at > freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at > freemarker.core.Expression.getStringValue(Expression.java:118) at > freemarker.core.Expression.getStringValue(Expression.java:93) at > freemarker.core.DollarVariable.accept(DollarVariable.java:76) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Macro$Context.runMacro(Macro.java:164) at > freemarker.core.Environment.visit(Environment.java:537) at > freemarker.core.UnifiedCall.accept(UnifiedCall.java:128) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Environment.process(Environment.java:176) at > freemarker.template.Template.process(Template.java:232) at > org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:173) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:102) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:61) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:794) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:393) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.render! > WidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:520) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:181) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:542) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:298) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScree! > nWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:488) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:149) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:242) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:131) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:102) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:87) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:75) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:602) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:387) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:178) at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)! > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLog! > Valve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector..CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) > > |
Free forum by Nabble | Edit this page |