Author: hansbak
Date: Wed May 25 06:15:29 2011
New Revision: 1127394
URL:
http://svn.apache.org/viewvc?rev=1127394&view=revLog:
delete also keyword, to be able to delete content
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=1127394&r1=1127393&r2=1127394&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 Wed May 25 06:15:29 2011
@@ -357,6 +357,7 @@ under the License.
<if-not-empty field="contents">
<iterate entry="content" list="contents">
<remove-related value-field="content" relation-name="ContentRole"/>
+ <remove-related value-field="content" relation-name="ContentKeyword"/>
<remove-value value-field="content"/>
<!-- check first if the content is used on any other communication event if yes, only delete link-->
<entity-and entity-name="CommEventContentAssoc" list="commEvents">