Author: jleroux
Date: Fri Jul 19 13:01:03 2013
New Revision: 1504864

URL: http://svn.apache.org/r1504864
Log:
A patch from Leon for "minor patch to "create email address"" 
https://issues.apache.org/jira/browse/OFBIZ-5278

In rare case where email address is same as other type contact info, such as 
internal party note, you cannot create this email address after the internal 
party note is created.

Modified:
    
ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

Modified: 
ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?rev=1504864&r1=1504863&r2=1504864&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
 (original)
+++ 
ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
 Fri Jul 19 13:01:03 2013
@@ -272,6 +272,7 @@ under the License.
         <entity-condition list="partyAndContactMechs" 
entity-name="PartyAndContactMech">
             <condition-list combine="and">
                 <condition-expr field-name="partyId" 
from-field="parameters.partyId"/>
+                <condition-expr field-name="contactMechTypeId" 
from-field="EMAIL_ADDRESS"/>
                 <condition-expr field-name="infoString" 
from-field="parameters.emailAddress" ignore-case="true"/>
             </condition-list>
         </entity-condition>


Reply via email to