svn commit: r1679322 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml

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

svn commit: r1679322 - /ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml

jleroux@apache.org
Author: jleroux
Date: Thu May 14 08:15:05 2015
New Revision: 1679322

URL: http://svn.apache.org/r1679322
Log:
Removes a now useless commentted out block

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

Modified: ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml?rev=1679322&r1=1679321&r2=1679322&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml (original)
+++ ofbiz/trunk/applications/party/script/org/ofbiz/party/contact/ContactMechServices.xml Thu May 14 08:15:05 2015
@@ -36,18 +36,6 @@ under the License.
     </simple-method>
 
     <simple-method method-name="updateContactMech" short-description="Update Contact Mechanism">
-        <!-- NOTE DEJ20101020: commenting these out becuase they make NO sense... the problem is that
-            updatePostalAddress below in this file calls updateContactMech, so it must be allowed...
-            This was "fixed" by JLR in rev 1023842, so undoing part of that to get things working again.
-        <if-compare field="parameters.contactMechTypeId" operator="equals" value="POSTAL_ADDRESS">
-            <add-error><fail-property resource="PartyUiLabels" property="PartyServiceNotForPostalAddress"/></add-error>
-        </if-compare>
-        <if-compare field="parameters.contactMechTypeId" operator="equals" value="TELECOM_NUMBER">
-            <add-error><fail-property resource="PartyUiLabels" property="PartyServiceNotForTelecomNumber"/></add-error>
-        </if-compare>
-        <check-errors/>
-        -->
-
         <set field="successMessageProperty" value="PartyContactMechanismSuccessfullyUpdated"/>
         <if-compare field="parameters.contactMechTypeId" operator="equals" value="EMAIL_ADDRESS">
             <set field="successMessageProperty" value="PartyEmailAddressSuccessfullyUpdated"/>