svn commit: r629523 - /ofbiz/trunk/applications/content/servicedef/services_data.xml

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

svn commit: r629523 - /ofbiz/trunk/applications/content/servicedef/services_data.xml

mor-2
Author: mor
Date: Wed Feb 20 08:25:25 2008
New Revision: 629523

URL: http://svn.apache.org/viewvc?rev=629523&view=rev
Log:
Applied patch from Jira Issue OFBiz-1665 (https://issues.apache.org/jira/browse/OFBIZ-1665)
This patch reported a bug that was related to invoking wrong method in a service in services_data.xml
While applying the patch I come across similar bug in other services as well.
Fixed them as well.

Thanks to Pranay Pandey for the patch.

Modified:
    ofbiz/trunk/applications/content/servicedef/services_data.xml

Modified: ofbiz/trunk/applications/content/servicedef/services_data.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/servicedef/services_data.xml?rev=629523&r1=629522&r2=629523&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/servicedef/services_data.xml (original)
+++ ofbiz/trunk/applications/content/servicedef/services_data.xml Wed Feb 20 08:25:25 2008
@@ -157,14 +157,14 @@
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="updateVideoDataResource" engine="simple" default-entity-name="VideoDataResource" auth="true"
-            location="org/ofbiz/content/data/DataServices.xml" invoke="updateImageDataResource">
+            location="org/ofbiz/content/data/DataServices.xml" invoke="updateVideoDataResource">
         <description>Update an VideoDataResource</description>
         <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="removeVideoDataResource" engine="simple" default-entity-name="VideoDataResource" auth="true"
-            location="org/ofbiz/content/data/DataServices.xml" invoke="removeImageDataResource">
+            location="org/ofbiz/content/data/DataServices.xml" invoke="removeVideoDataResource">
         <description>Remove an VideoDataResource</description>
         <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
@@ -172,21 +172,21 @@
 
     <!-- Audio Data Resource services -->
     <service name="createAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true"
-            location="org/ofbiz/content/data/DataServices.xml" invoke="createImageDataResource">
+            location="org/ofbiz/content/data/DataServices.xml" invoke="createAudioDataResource">
         <description>Create an AudioDataResource</description>
         <permission-service service-name="genericDataResourcePermission" main-action="CREATE"/>
         <auto-attributes include="pk" mode="INOUT" optional="true"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="updateAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true"
-            location="org/ofbiz/content/data/DataServices.xml" invoke="updateImageDataResource">
+            location="org/ofbiz/content/data/DataServices.xml" invoke="updateAudioDataResource">
         <description>Update an AudioDataResource</description>
         <permission-service service-name="genericDataResourcePermission" main-action="UPDATE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true"/>
     </service>
     <service name="removeAudioDataResource" engine="simple" default-entity-name="AudioDataResource" auth="true"
-            location="org/ofbiz/content/data/DataServices.xml" invoke="removeImageDataResource">
+            location="org/ofbiz/content/data/DataServices.xml" invoke="removeAudioDataResource">
         <description>Remove an AudioDataResource</description>
         <permission-service service-name="genericDataResourcePermission" main-action="DELETE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>