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 2014/07/15 15:30:08 UTC

svn commit: r1610685 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml

Author: jacopoc
Date: Tue Jul 15 13:30:07 2014
New Revision: 1610685

URL: http://svn.apache.org/r1610685
Log:
Applied fix contributed by Leon in OFBIZ-4363: In the definition of service "CreateDataResource", there's a (optional) OUT attribute "dataResource" which is used by method "persistDataResourceAndDataMethod" of org.ofbiz.content.ContentManagementServices; the field was never returned by the service.

Modified:
    ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml?rev=1610685&r1=1610684&r2=1610685&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/data/DataServices.xml Tue Jul 15 13:30:07 2014
@@ -60,6 +60,7 @@ under the License.
 
         <create-value value-field="newEntity"/>
         <field-to-result field="newEntity.dataResourceId" result-name="dataResourceId"/>
+        <field-to-result field="newEntity" result-name="dataResource"/>
     </simple-method>
 
     <simple-method method-name="updateDataResource" short-description="Update a Data Resource">