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

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

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

hansbak-2
Author: hansbak
Date: Sat Nov  4 17:35:27 2006
New Revision: 471322

URL: http://svn.apache.org/viewvc?view=rev&rev=471322
Log:
not possible to delete communictionevent with electroinic text attached: fixed

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

Modified: incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml?view=diff&rev=471322&r1=471321&r2=471322
==============================================================================
--- incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml (original)
+++ incubator/ofbiz/trunk/applications/party/script/org/ofbiz/party/communication/CommunicationEventServices.xml Sat Nov  4 17:35:27 2006
@@ -99,6 +99,10 @@
                                 <if-not-empty field-name="imageDataResource">
                                     <remove-value value-name="imageDataResource"/>
                                 </if-not-empty>
+                                <get-related-one value-name="dataResource" relation-name="ElectronicText" to-value-name="electronicText"/>
+                                <if-not-empty field-name="electronicText">
+                                    <remove-value value-name="electronicText"/>
+                                </if-not-empty>
                                 <remove-value value-name="dataResource"/>
                             </if-not-empty>
                         </iterate>