Ok, so perhaps I spoke to soon. Now the screen is rendered but, when I "Add to Order" I receive the following error message at the top of the screen: The Following Errors Occurred:
The following required parameter is missing: [appendOrderItem.prodCatalogId] There is indeed a catalog and in the "Order Items" section of the screen I can click on the "Catalog" link and I'm taken to the catalog. Any other ideas? Thanks, Case Torres [EMAIL PROTECTED] -----Original Message----- From: Case Torres [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 11:55 AM To: '[email protected]' Subject: RE: error message when click on "Edit Items" Scott, I just downloaded the updates and the problem disappeared! Thanks!! 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] > > >
