Author: jleroux
Date: Fri Oct 18 15:13:59 2013
New Revision: 1533491
URL:
http://svn.apache.org/r1533491Log:
"Applied fix from trunk for revision: 1504864"
------------------------------------------------------------------------
r1504864 | jleroux | 2013-07-19 15:01:03 +0200 (ven. 19 juil. 2013) | 3 lignes
A patch from Leon for "minor patch to "create email address""
https://issues.apache.org/jira/browse/OFBIZ-5278In 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/branches/release11.04/ (props changed)
ofbiz/branches/release11.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
Propchange: ofbiz/branches/release11.04/
------------------------------------------------------------------------------
Merged /ofbiz/trunk:r1504864
Modified: ofbiz/branches/release11.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?rev=1533491&r1=1533490&r2=1533491&view=diff==============================================================================
--- ofbiz/branches/release11.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml (original)
+++ ofbiz/branches/release11.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml Fri Oct 18 15:13:59 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>