You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2017/04/06 12:53:27 UTC

svn commit: r1790396 - /ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml

Author: jacopoc
Date: Thu Apr  6 12:53:27 2017
New Revision: 1790396

URL: http://svn.apache.org/viewvc?rev=1790396&view=rev
Log:
Fixed: added missing default-entity-name attribute to the "entity-auto" service 
definition for createReturnItemResponse. The missing attribute was causing a 
service execution error, preventing the processing of returns. 

Modified:
    ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml?rev=1790396&r1=1790395&r2=1790396&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/order/servicedef/services_return.xml Thu Apr  6 12:53:27 2017
@@ -92,9 +92,9 @@ under the License.
         <permission-service service-name="returnPermissionCheck" main-action="DELETE"/>
         <auto-attributes entity-name="ReturnItem" include="pk" mode="IN" optional="false"/>
     </service>
-    <service name="createReturnItemResponse" engine="entity-auto" invoke="create">
+    <service name="createReturnItemResponse" engine="entity-auto" invoke="create" default-entity-name="ReturnItemResponse">
             <description>Creates a ReturnItemResponse record.</description>
-        <auto-attributes entity-name="ReturnItemResponse" include="nonpk" mode="IN" optional="true"/>
+        <auto-attributes include="nonpk" mode="IN" optional="true"/>
         <attribute name="returnItemResponseId" type="String" mode="OUT" optional="false"/>
     </service>
     <service name="createPaymentApplicationsFromReturnItemResponse" engine="java"