svn commit: r614083 - /ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml

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

svn commit: r614083 - /ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml

jleroux@apache.org
Author: jleroux
Date: Mon Jan 21 17:11:44 2008
New Revision: 614083

URL: http://svn.apache.org/viewvc?rev=614083&view=rev
Log:
Applied fix from trunk for revision: 614081

Modified:
    ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml

Modified: ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml?rev=614083&r1=614082&r2=614083&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml (original)
+++ ofbiz/branches/release4.0/applications/content/script/org/ofbiz/content/data/DataServices.xml Mon Jan 21 17:11:44 2008
@@ -20,7 +20,7 @@
 
 <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/simple-methods.xsd">
- <!-- Methods for DataResource -->
+  <!-- Methods for DataResource -->
     <simple-method method-name="createDataResource" short-description="Create a Data Resource">
         <make-value entity-name="DataResource" value-name="newEntity"/>
         <set-nonpk-fields map-name="parameters" value-name="newEntity"/>
@@ -37,7 +37,7 @@
         <set field="newEntity.lastModifiedDate" from-field="nowTimestamp"/>
         <set field="newEntity.createdDate" from-field="nowTimestamp"/>
 
-        <if-empty field-name="dataTemplateTypeId">
+        <if-empty field-name="parameters.dataTemplateTypeId">
             <set field="newEntity.dataTemplateTypeId" value="NONE"/>
         </if-empty>
 
@@ -78,7 +78,7 @@
         <remove-value value-name="lookedUpValue"/>
     </simple-method>
 
- <!-- Methods for DataCategory -->
+  <!-- Methods for DataCategory -->
     <simple-method method-name="createDataCategory" short-description="Create a Data Category">
         <make-value entity-name="DataCategory" value-name="newEntity"/>
         <set-nonpk-fields map-name="parameters" value-name="newEntity"/>
@@ -101,7 +101,7 @@
         <remove-value value-name="lookedUpValue"/>
     </simple-method>
     
- <!-- Methods for DataResourceMetaData -->
+  <!-- Methods for DataResourceMetaData -->
     <simple-method method-name="createDataResourceMetaData" short-description="Create Data Resource Meta Data">
         <check-permission permission="CONTENTMGR" action="_CREATE"><fail-message message="Security Error: to run createDataResourceMetaData you must have the CONTENTMGR_CREATE or CONTENTMGR_ADMIN permission"/></check-permission>
         <check-errors/>
@@ -131,7 +131,7 @@
         <remove-value value-name="lookedUpValue"/>
     </simple-method>    
     
- <!-- Methods for DataResourcePurpose -->
+  <!-- Methods for DataResourcePurpose -->
     <simple-method method-name="createDataResourcePurpose" short-description="Create Data Resource Purpose">
         <check-permission permission="CONTENTMGR" action="_CREATE"><fail-message message="Security Error: to run createDataResourcePurpose you must have the CONTENTMGR_CREATE or CONTENTMGR_ADMIN permission"/></check-permission>
         <check-errors/>
@@ -161,7 +161,7 @@
         <remove-value value-name="lookedUpValue"/>
     </simple-method>    
     
- <!-- Methods for DataResourceRole -->
+  <!-- Methods for DataResourceRole -->
     <simple-method method-name="createDataResourceRole" short-description="Create Data Resource Role">
         <make-value entity-name="DataResourceRole" value-name="newEntity"/>
         <set-nonpk-fields map-name="parameters" value-name="newEntity"/>