svn commit: r1533490 - in /ofbiz/branches/release12.04: ./ applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

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

svn commit: r1533490 - in /ofbiz/branches/release12.04: ./ applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

jleroux@apache.org
Author: jleroux
Date: Fri Oct 18 15:13:58 2013
New Revision: 1533490

URL: http://svn.apache.org/r1533490
Log:
"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-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/branches/release12.04/   (props changed)
    ofbiz/branches/release12.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml

Propchange: ofbiz/branches/release12.04/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1504864

Modified: ofbiz/branches/release12.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release12.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml?rev=1533490&r1=1533489&r2=1533490&view=diff
==============================================================================
--- ofbiz/branches/release12.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml (original)
+++ ofbiz/branches/release12.04/applications/party/script/org/ofbiz/party/contact/PartyContactMechServices.xml Fri Oct 18 15:13:58 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>