Author: jaz
Date: Thu Apr 23 05:54:01 2009
New Revision: 767811
URL:
http://svn.apache.org/viewvc?rev=767811&view=revLog:
Due to an oversight, (createLead, createContact do not require an email) and the changes in rev 766236 and 766637 only add the user to the contact list if there was indeed an email address created.
Modified:
ofbiz/trunk/applications/marketing/servicedef/secas.xml
Modified: ofbiz/trunk/applications/marketing/servicedef/secas.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/servicedef/secas.xml?rev=767811&r1=767810&r2=767811&view=diff==============================================================================
--- ofbiz/trunk/applications/marketing/servicedef/secas.xml (original)
+++ ofbiz/trunk/applications/marketing/servicedef/secas.xml Thu Apr 23 05:54:01 2009
@@ -31,12 +31,14 @@
<!-- quick add functions which pass a contactListId as well -->
<eca service="createLead" event="commit">
<condition field-name="contactListId" operator="is-not-empty"/>
+ <condition field-name="contactMechId" operator="is-not-empty"/>
<set field-name="statusId" value="CLPT_ACCEPTED"/>
<set field-name="preferredContactMechId" env-name="contactMechId"/>
<action service="createContactListParty" mode="sync"/>
</eca>
<eca service="createContact" event="commit">
<condition field-name="contactListId" operator="is-not-empty"/>
+ <condition field-name="contactMechId" operator="is-not-empty"/>
<set field-name="statusId" value="CLPT_ACCEPTED"/>
<set field-name="preferredContactMechId" env-name="contactMechId"/>
<action service="createContactListParty" mode="sync"/>