Hi, I have 3 ofbiz applications running on 3 separate machines. 2 are release branches (one without demo data just seed data loaded) 1 latest trunk release.
With both the trunk (demo data loaded) and demo loaded branch I can Add Items to a created order. However even though I have several Catalogs I'm ordering from the only catalog name showing up in the hidden field "prodCatalogId" in the "Add To Order" form is "Demo Catalog". None of my Catalog names ever show up. With my branch no demo data version, when trying to "Add To Order" I get a missing: [appendOrderItem.prodCatalogId] error message. And indeed the hidden, prodCatalogId field is empty. Leads me to believe that without the Demo data loaded I can't use "Add To Order". I am soliciting comments and suggestions. Case Torres [EMAIL PROTECTED] -----Original Message----- From: Scott Gray [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 11:05 PM To: [email protected]; [EMAIL PROTECTED] Subject: Re: error message when click on "Edit Items" The problem appears to be that you don't have any catalogs set up, but also the screen shouldn't crash even if that is the case so I've fixed it in rev. 602008. In future please mention what version of OFBiz your are using, this had already been fixed in the trunk so it took me longer to figure out why you were having a problem. Regards Scott On 07/12/2007, Case Torres <[EMAIL PROTECTED]> wrote: > > 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#CommonOrderVie > wDecor > 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] > > >
