svn commit: r1626385 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1626385 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml

ashish-18
Author: ashish
Date: Sat Sep 20 06:16:29 2014
New Revision: 1626385

URL: http://svn.apache.org/r1626385
Log:
Applied patch from jira issue - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak Dixit for the contribution.  

Modified:
    ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml

Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml?rev=1626385&r1=1626384&r2=1626385&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml (original)
+++ ofbiz/trunk/applications/content/script/org/ofbiz/content/content/ContentServices.xml Sat Sep 20 06:16:29 2014
@@ -159,10 +159,7 @@
     </simple-method>
 
     <simple-method method-name="copyContentAndElectronicTextandAssoc" short-description="copy a content, electronic text and assocs and set status in progress">
-        <set-service-fields service-name="getContent" map="parameters" to-map="getC"/>
-        <call-service service-name="getContent" in-map-name="getC">
-            <result-to-field result-name="view" field="content"/>
-        </call-service>
+        <entity-one entity-name="Content" value-field="content"/>
         <if-not-empty field="content.dataResourceId">
             <set-service-fields service-name="getElectronicText" map="content" to-map="getEt"/>
             <call-service service-name="getElectronicText" in-map-name="getEt">