First, thank you BJ and Scott for responding. My apologies as I totally forgot to mention, as Scott pointed out, which ofbiz I'm using. This is Release 4 revision:601031 I did not load the Demo just seed data
To create the order I followed the steps thru Order Manager->Order Entry. My product store shows up in the drop-down on the first order entry page "Sales Order" section and there *is* a catalog associated with my product store. Clicking "continue" thru to "Finalize Order", and "continue" thru shipping and payment screens then creating the order by clicking on the "Create Order" button. On what I call the "Final Order Screen" where you can Approve an order, towards the bottom of the screen is the section titled "Order Items" I clicked on the button "Edit Items" in the upper right hand corner of this section and that is when the error appears. I know the code can't find the Catalog ID. I'm not sure how to track down the problem. Where is the Catalog ID supposed to be stored and what part of the code is suppose to store it? I know that this particular call in appendorderitem.ftl is not returning what's needed. Static["org.ofbiz.product.catalog.CatalogWorker"].getCurrentCatalogId(reques t) I'm afraid that's all I know. I'd like to learn how to track down these types of problems but I just don't know how to backtrack to find the problem. Thanks much in advance for any advice, Case Torres [EMAIL PROTECTED] -----Original Message----- From: BJ Freeman [mailto:[EMAIL PROTECTED] Sent: Thursday, December 06, 2007 10:30 PM To: [email protected] Subject: Re: error message when click on "Edit Items" what sequence did you use to get this error. BJ Freeman sent the following on 12/6/2007 5:22 PM: > Some screens will error if you don't get to them in the right sequence. > the error > Static["org.ofbiz.product.catalog.CatalogWorker"].getCurrentCatalogId( > reques >> t) is undefined on line 40, column 66 > says havig trouble getting a catalogID > > Case Torres sent the following on 12/6/2007 4:36 PM: >> 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#CommonOrderVi >> ewDecor >> 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] >> >> >> > > >
