Hi,

I'm seeking help in troubleshooting this error.

Upon creating an order (consisting of a variant product, not sure this makes
a difference) and then clicking on "Edit Items" in the "Order Items" section
of the screen, I'm getting the following error message:


org.ofbiz.base.util.GeneralException: Error rendering screen
[component://order/widget/ordermgr/OrderViewScreens.xml#OrderItemEdit]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://order/widget/ordermgr/OrderViewScreens.xml#CommonOrderViewDecor
ator]: org.ofbiz.base.util.GeneralException: Error rendering screen
[component://order/widget/ordermgr/CommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://order/webapp/ordermgr/order/appendorderitem.ftl]:
freemarker.core.InvalidReferenceException: Expression
Static["org.ofbiz.product.catalog.CatalogWorker"].getCurrentCatalogId(reques
t) is undefined on line 40, column 66 in
component://order/webapp/ordermgr/order/appendorderitem.ftl. (Error
rendering included template at location
[component://order/webapp/ordermgr/order/appendorderitem.ftl]:
freemarker.core.InvalidReferenceException: Expression
Static["org.ofbiz.product.catalog.CatalogWorker"].getCurrentCatalogId(reques
t) is undefined on line 40, column 66 in
component://order/webapp/ordermgr/order/appendorderitem.ftl.) (Error
rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.RuntimeException: Error rendering included template at location
[component://order/webapp/ordermgr/order/appendorderitem.ftl]: 

I did make some changes to a couple of .ftl files, specifically 
orderitems.ftl and ordershippinginfo.ftl 
I made copies of each prior to making the changes and changed back to the
original file upon getting the above error message.
However, I'm still receiving the message.
I would like to learn how to troubleshoot these errors. Any pointers would
be greatly appreciated.

>From the output I gather the code is unable to reference the Catalog ID when
trying to render both editorderitems.ftl and appendorderitem.ftl. The
offended code is actually on line 40 in appendorderitem.ftl. How would I
backtrack from here?

Thanks much, Case


Case Torres
[EMAIL PROTECTED]


Reply via email to