svn commit: r523242 - /ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

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

svn commit: r523242 - /ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

jacopoc
Author: jacopoc
Date: Wed Mar 28 02:19:13 2007
New Revision: 523242

URL: http://svn.apache.org/viewvc?view=rev&rev=523242
Log:
The deleteWorkEffort service now deletes also the keywords to avoid fk violation errors.

Modified:
    ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml

Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?view=diff&rev=523242&r1=523241&r2=523242
==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Wed Mar 28 02:19:13 2007
@@ -142,6 +142,7 @@
         <entity-one entity-name="WorkEffort" value-name="lookedUpValue"/>
 
         <!-- Remove associated/dependent entries from other entities here -->
+        <remove-related value-name="lookedUpValue" relation-name="WorkEffortKeyword"/>
         <remove-related value-name="lookedUpValue" relation-name="WorkEffortAttribute"/>
         <remove-related value-name="lookedUpValue" relation-name="WorkOrderItemFulfillment"/>
         <remove-related value-name="lookedUpValue" relation-name="FromWorkEffortAssoc"/>