Author: sascharodekamp
Date: Mon Apr 16 12:10:14 2012
New Revision: 1326567
URL:
http://svn.apache.org/viewvc?rev=1326567&view=revLog:
createPartyContactMech: check for infoString is done without using the contactMechTypeId
https://issues.apache.org/jira/browse/OFBIZ-4810 A slightly modified patch from Michael Brohl: The block which was commented out is needed for the condition list
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=1326567&r1=1326566&r2=1326567&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 Mon Apr 16 12:10:14 2012
@@ -40,6 +40,7 @@ under the License.
<and>
<if-compare operator="equals" value="N" field="contactMechType.hasTable"/>
<if-compare operator="equals" value="${partyAndContactMech.infoString}" field="parameters.infoString"/>
+ <if-compare operator="equals" value="${partyAndContactMech.contactMechTypeId}" field="parameters.contactMechTypeId"/>
</and>
</condition>
<then>