You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/03/10 03:07:00 UTC

svn commit: r1080103 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml

Author: hansbak
Date: Thu Mar 10 02:07:00 2011
New Revision: 1080103

URL: http://svn.apache.org/viewvc?rev=1080103&view=rev
Log:
remove links to work efforts when deleting a communication event

Modified:
    ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?rev=1080103&r1=1080102&r2=1080103&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Thu Mar 10 02:07:00 2011
@@ -344,6 +344,8 @@ under the License.
         <if-empty field="event"><!-- the service can be called multiple times because event can have several recipients-->
             <return/><!-- ignore if already deleted -->
         </if-empty>
+        <!-- remove related links to work effort -->
+        <remove-related relation-name="CommunicationEventWorkEff" value-field="event"/>
         <!-- remove related links to content -->
         <get-related value-field="event" relation-name="CommEventContentAssoc" list="contentAssocs"/>
         <if-not-empty field="contentAssocs">