Error in Viewing Returned Items in 9.04 Return Items Screen

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in Viewing Returned Items in 9.04 Return Items Screen

Sharan-F
Hi

I was looking at the Order Returns Process and came across this rather long error message in current online demo for 9.04 version 795462.  A link to return I created is as follows:

https://demo904.ofbiz.org/ordermgr/control/returnItems?returnId=10000

Steps to reproduce as follows:

Login as admin
Use Order Entry to create an order to DemoCustomer (in my example the order was for  2 Nan Gizmos GZ-1001)
Quick Finalise and Create the Order
Receive a Payment
Quick Ship Entire Order
Quick Refund Entire Order
Go to the Returns Tab and select the newly created return
Click on the Return Items tab and the error message is displayed.

Thanks
Sharan


Expression adjReturnType.get is undefined on line 42, column 18 in component://order/webapp/ordermgr/return/returnItems.ftl. The problematic instruction: ---------- ==> ${adjReturnType.get("description", locale)?default("${uiLabelMap.CommonNA}")} [on line 42, column 16 in component://order/webapp/ordermgr/return/returnItems.ftl] in user-directive displayReturnAdjustment [on line 294, column 17 in component://order/webapp/ordermgr/return/returnItems.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression adjReturnType.get is undefined on line 42, column 18 in component://order/webapp/ordermgr/return/returnItems.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:114) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$defaultBI._getAsTemplateModel(BuiltIn.java:843) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Macro$Context.runMacro(Macro.java:168) at freemarker.core.Environment.visit(Environment.java:602) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at freemarker.core.Environment.visit(Environment.java:416) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:595) Error rendering included template at location [component://order/webapp/ordermgr/return/returnItems.ftl]: freemarker.core.InvalidReferenceException: Expression adjReturnType.get is undefined on line 42, column 18 in component://order/webapp/ordermgr/return/returnItems.ftl.
Reply | Threaded
Open this post in threaded view
|

Re: Error in Viewing Returned Items in 9.04 Return Items Screen

Jacques Le Roux
Administrator
Hi Sharan,

Did you open a Jira ?

Thanks

Jacques

From: "Sharan-F" <[hidden email]>

>
> Hi
>
> I was looking at the Order Returns Process and came across this rather long
> error message in current online demo for 9.04 version 795462.  A link to
> return I created is as follows:
>
> https://demo904.ofbiz.org/ordermgr/control/returnItems?returnId=10000
>
> Steps to reproduce as follows:
>
> Login as admin
> Use Order Entry to create an order to DemoCustomer (in my example the order
> was for  2 Nan Gizmos GZ-1001)
> Quick Finalise and Create the Order
> Receive a Payment
> Quick Ship Entire Order
> Quick Refund Entire Order
> Go to the Returns Tab and select the newly created return
> Click on the Return Items tab and the error message is displayed.
>
> Thanks
> Sharan
>
>
> Expression adjReturnType.get is undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl. The problematic
> instruction: ---------- ==> ${adjReturnType.get("description",
> locale)?default("${uiLabelMap.CommonNA}")} [on line 42, column 16 in
> component://order/webapp/ordermgr/return/returnItems.ftl] in user-directive
> displayReturnAdjustment [on line 294, column 17 in
> component://order/webapp/ordermgr/return/returnItems.ftl] ---------- Java
> backtrace for programmers: ----------
> freemarker.core.InvalidReferenceException: Expression adjReturnType.get is
> undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
> freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:114) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.BuiltIn$defaultBI._getAsTemplateModel(BuiltIn.java:843) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IfBlock.accept(IfBlock.java:82) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.Macro$Context.runMacro(Macro.java:168) at
> freemarker.core.Environment.visit(Environment.java:602) at
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at
> freemarker.core.Environment.visit(Environment.java:416) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IfBlock.accept(IfBlock.java:82) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.Environment.process(Environment.java:189) at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
> at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
> at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> at
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> at java.lang.Thread.run(Thread.java:595) Error rendering included template
> at location [component://order/webapp/ordermgr/return/returnItems.ftl]:
> freemarker.core.InvalidReferenceException: Expression adjReturnType.get is
> undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl.
> --
> View this message in context:
> http://www.nabble.com/Error-in-Viewing-Returned-Items-in-9.04--Return-Items-Screen-tp24600601p24600601.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>


Reply | Threaded
Open this post in threaded view
|

Re: Error in Viewing Returned Items in 9.04 Return Items Screen

Sharan-F
Hi Jacques

No I didnt - but I will do. I just repeated the test using the trunk SVN 814257 and still get the same error.

Thanks
Sharan

jacques.le.roux wrote
Hi Sharan,

Did you open a Jira ?

Thanks

Jacques

From: "Sharan-F" <sharan.foga@gmail.com>
>
> Hi
>
> I was looking at the Order Returns Process and came across this rather long
> error message in current online demo for 9.04 version 795462.  A link to
> return I created is as follows:
>
> https://demo904.ofbiz.org/ordermgr/control/returnItems?returnId=10000
>
> Steps to reproduce as follows:
>
> Login as admin
> Use Order Entry to create an order to DemoCustomer (in my example the order
> was for  2 Nan Gizmos GZ-1001)
> Quick Finalise and Create the Order
> Receive a Payment
> Quick Ship Entire Order
> Quick Refund Entire Order
> Go to the Returns Tab and select the newly created return
> Click on the Return Items tab and the error message is displayed.
>
> Thanks
> Sharan
>
>
> Expression adjReturnType.get is undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl. The problematic
> instruction: ---------- ==> ${adjReturnType.get("description",
> locale)?default("${uiLabelMap.CommonNA}")} [on line 42, column 16 in
> component://order/webapp/ordermgr/return/returnItems.ftl] in user-directive
> displayReturnAdjustment [on line 294, column 17 in
> component://order/webapp/ordermgr/return/returnItems.ftl] ---------- Java
> backtrace for programmers: ----------
> freemarker.core.InvalidReferenceException: Expression adjReturnType.get is
> undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl. at
> freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at
> freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
> at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:114) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.BuiltIn$defaultBI._getAsTemplateModel(BuiltIn.java:843) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at
> freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at
> freemarker.core.Expression.getStringValue(Expression.java:93) at
> freemarker.core.DollarVariable.accept(DollarVariable.java:76) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IfBlock.accept(IfBlock.java:82) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.Macro$Context.runMacro(Macro.java:168) at
> freemarker.core.Environment.visit(Environment.java:602) at
> freemarker.core.UnifiedCall.accept(UnifiedCall.java:106) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IteratorBlock$Context.runLoop(IteratorBlock.java:167) at
> freemarker.core.Environment.visit(Environment.java:416) at
> freemarker.core.IteratorBlock.accept(IteratorBlock.java:102) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.IfBlock.accept(IfBlock.java:82) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.MixedContent.accept(MixedContent.java:92) at
> freemarker.core.Environment.visit(Environment.java:209) at
> freemarker.core.Environment.process(Environment.java:189) at
> org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201)
> at
> org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
> at
> org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:676)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:167)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:706)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Container.renderWidgetString(ModelScreenWidget.java:292)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:552)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
> at
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
> at
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
> at
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at
> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
> at
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
> at
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533)
> at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
> at
> org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
> at
> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
> at java.lang.Thread.run(Thread.java:595) Error rendering included template
> at location [component://order/webapp/ordermgr/return/returnItems.ftl]:
> freemarker.core.InvalidReferenceException: Expression adjReturnType.get is
> undefined on line 42, column 18 in
> component://order/webapp/ordermgr/return/returnItems.ftl.
> --
> View this message in context:
> http://www.nabble.com/Error-in-Viewing-Returned-Items-in-9.04--Return-Items-Screen-tp24600601p24600601.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>