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 2007/03/28 11:19:14 UTC

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

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"/>