When processing a return, I get this message:
The following required parameter is missing: [IN] [createReturnItem.description] I am using 630717 and I can't replicate the problem on the demo site. I didn't see anywhere to add a description for the return.... TIA |
This probably means that the problem has been fixed since 630717.
suggest you update you code. or you can go thru the commits from 630717 to see what was changed that specifically addresses your concern. pmacdee sent the following on 5/13/2008 6:45 AM: > When processing a return, I get this message: > > The following required parameter is missing: [IN] > [createReturnItem.description] > > I am using 630717 and I can't replicate the problem on the demo site. I > didn't see anywhere to add a description for the return.... > > TIA |
I did update to the current version this AM and got the same error ( as well as a few others ...)
Looking in OrderReturnServices.java I see that runSync is called on inMap, but there is no description element in inMap .... Map inMap = filterServiceContext(dctx, serviceName, context); if ("createReturnItem".equals(serviceName)) { // we don't want to automatically include the adjustments // when the return item is created because they are selectable by the user inMap.put("includeAdjustments", "N"); } return dispatcher.runSync(serviceName, inMap); Does a description need to be defined in OrderReturnServices.xml ? Here is the stack trace : 2008-05-13 11:35:48,334 (http-0.0.0.0-8443-Processor4) [ ModelService.java:461:ERROR] [ModelService.validate] : {createReturnItem} : (IN) Required test error: org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [createReturnItem.description] 2008-05-13 11:35:48,342 (http-0.0.0.0-8443-Processor4) [ ServiceDispatcher.java:358:ERROR] ---- exception report ---------------------------------------------------------- Incoming context (in runSync : createReturnItem) does not match expected requirements Exception: org.ofbiz.service.ServiceValidationException Message: The following required parameter is missing: [IN] [createReturnItem.description] ---- stack trace --------------------------------------------------------------- org.ofbiz.service.ServiceValidationException: The following required parameter is missing: [IN] [createReturnItem.description] org.ofbiz.service.ModelService.validate(ModelService.java:500) org.ofbiz.service.ModelService.validate(ModelService.java:458) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:356) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) org.ofbiz.order.order.OrderReturnServices.createReturnItemOrAdjustment(OrderReturnServices.java:2181) 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.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:96) org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:54) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:374) org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:208) org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:136) org.ofbiz.webapp.event.ServiceMultiEventHandler.invoke(ServiceMultiEventHandler.java:302) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:454) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:281) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:386) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:193) org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
|
Free forum by Nabble | Edit this page |