Author: hansbak
Date: Tue Aug 16 10:19:44 2011
New Revision: 1158184
URL: http://svn.apache.org/viewvc?rev=1158184&view=rev
Log:
the scrum component links products to commevents, so when deleting commevent
need to remove that link also
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=1158184&r1=1158183&r2=1158184&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
Tue Aug 16 10:19:44 2011
@@ -344,8 +344,9 @@ 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 links to work effort and product -->
<remove-related relation-name="CommunicationEventWorkEff"
value-field="event"/>
+ <remove-related relation-name="CommunicationEventProduct"
value-field="event"/>
<!-- remove related links to content -->
<get-related value-field="event" relation-name="CommEventContentAssoc"
list="contentAssocs"/>
<if-not-empty field="contentAssocs">