You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/05/30 01:30:32 UTC

svn commit: r780139 - in /ofbiz/branches/release09.04: ./ applications/content/servicedef/secas.xml

Author: jleroux
Date: Fri May 29 23:30:32 2009
New Revision: 780139

URL: http://svn.apache.org/viewvc?rev=780139&view=rev
Log:
Backported by hand (got weird conflict) from r780138
SHORT_TEXT was not working

Modified:
    ofbiz/branches/release09.04/   (props changed)
    ofbiz/branches/release09.04/applications/content/servicedef/secas.xml

Propchange: ofbiz/branches/release09.04/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri May 29 23:30:32 2009
@@ -1 +1 @@
-/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076,773557,773628,773659,773697,774014,774632,774661,774995,775292,775667,776227,776594,776620,776922,777004,777020,777768,777792,777893,777947,778078,778094,778107,778278,778280,778364,778374,778402,778576,778594,778628,779020,779639,780111
+/ofbiz/trunk:765933,766011,766015,766293,766307,766316,766325,766462,766522,766800,767060,767072,767093,767098-767099,767102,767123,767125,767127,767279,767287,767671,767688,767694,767822,767845,768358,768490,768550,768675,768686,768705,768811,768815,768960,769030,769500,770272,770997,771073,772401,772464-772465,773076,773557,773628,773659,773697,774014,774632,774661,774995,775292,775667,776227,776594,776620,776922,777004,777020,777768,777792,777893,777947,778078,778094,778107,778278,778280,778364,778374,778402,778576,778594,778628,779020,779639,780111,780138

Modified: ofbiz/branches/release09.04/applications/content/servicedef/secas.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/content/servicedef/secas.xml?rev=780139&r1=780138&r2=780139&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/content/servicedef/secas.xml (original)
+++ ofbiz/branches/release09.04/applications/content/servicedef/secas.xml Fri May 29 23:30:32 2009
@@ -29,14 +29,12 @@
         <condition field-name="surveyId" operator="is-not-empty"/>
         <action service="createSurveyQuestionAppl" mode="sync"/>
     </eca>
-
     <!-- emails should not be stored as new communication event if there is no partyId or if it is already a commevent being sent out -->
     <eca service="sendMail" event="commit">
         <condition field-name="partyId" operator="is-not-empty"/>
         <condition field-name="communicationEventId" operator="is-empty"/>
         <action service="storeEmailAsCommunication" mode="sync"/>
     </eca>
-
     <!-- create data resource ecas -->
     <eca service="createDataResource" event="commit">
         <condition field-name="partyId" operator="is-not-empty"/>
@@ -83,6 +81,13 @@
         <action service="createElectronicText" mode="sync" result-to-context="true"/>
     </eca>
     <eca service="createDataText" event="invoke">
+        <condition field-name="dataResourceTypeId" operator="equals" value="SHORT_TEXT"/>
+        <condition field-name="textData" operator="is-not-empty"/>
+        <set field-name="dataResourceTypeId" value="SHORT_TEXT"/>
+        <action service="createDataResource" mode="sync" result-to-context="true"/>
+    </eca>
+    <!-- This one is a bit weird, why choosing SHORT_TEXT ?-->
+    <eca service="createDataText" event="invoke">
         <condition field-name="dataResourceTypeId" operator="is-empty"/>
         <condition field-name="textData" operator="is-empty"/>
         <set field-name="dataResourceTypeId" value="SHORT_TEXT"/>