Hi all, I received an error when I try to buy a Digital Good, for example the Digital Gizmo (ID: GZ-DIG). If the product is a Finished Good all works fine.
I make the following. I add the Digital Gizmo to the cart and make a Quick Checkout. I pay with a valid credit card and submit the order. The result screen is this: The Following Errors Occurred: Problem with order change; see above error In the console I have this: 2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [ OrderChangeHelper.java:85 :ERROR] ---- exception report ---------------------------------------------------------- Service invocation error, status changes were not updated for order #WSCO10091 Exception: org.ofbiz.service.GenericServiceException Message: Could not commit transaction for service [changeOrderItemStatus] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [Convert UOM values [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found] ---- stack trace --------------------------------------------------------------- org.ofbiz.service.GenericServiceException: Could not commit transaction for service [changeOrderItemStatus] call: Roll back error, could not commit transaction, was rolled back instead because of: Error in simple-method [Convert UOM values [file:/D:/Projekte/ofbiz/ofbiz-trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; [UOM Conversion Relationship Not Found] org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:548) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:221) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159) org.ofbiz.order.order.OrderChangeHelper.orderStatusChanges(OrderChangeHelper.java:166) org.ofbiz.order.order.OrderChangeHelper.approveOrder(OrderChangeHelper.java:72) org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1023) org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885) org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553) org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:595) 2009-09-21 12:56:06,984 (http-0.0.0.0-8443-4) [ CheckOutEvents.java:521:ERROR] ---- exception report ---------------------------------------------------------- Exception: org.ofbiz.base.util.GeneralException Message: Problem with order change; see above error ---- stack trace --------------------------------------------------------------- org.ofbiz.base.util.GeneralException: Problem with order change; see above error org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1025) org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:885) org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:553) org.ofbiz.order.shoppingcart.CheckOutEvents.processPayment(CheckOutEvents.java:517) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:92) org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:78) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:611) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:515) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:214) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:264) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:44) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Thread.java:595) ------------------------------------------------- If I go into the debug mode I can see that the error come from the line 166 in OrderChangeHelper: Map itemStatusResult = dispatcher.runSync("changeOrderItemStatus", itemStatusFields); It is this a bug? Am I doing something wrong? Thanks in advance, Mario. -- View this message in context: http://www.nabble.com/Error-trying-to-buy-a-Digital-Good-tp25530283p25530283.html Sent from the OFBiz - User mailing list archive at Nabble.com.