You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ar...@apache.org on 2016/02/20 13:03:08 UTC

svn commit: r1731382 - in /ofbiz/trunk/applications/party: config/PartyUiLabels.xml src/org/ofbiz/party/contact/ContactMechServices.java

Author: arunpatidar
Date: Sat Feb 20 12:03:08 2016
New Revision: 1731382

URL: http://svn.apache.org/viewvc?rev=1731382&view=rev
Log:
[OFBIZ-6911] Added return message in service after succesfully deleting of contactMech record. Thanks Aman for providing patch. 

Modified:
    ofbiz/trunk/applications/party/config/PartyUiLabels.xml
    ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=1731382&r1=1731381&r2=1731382&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Sat Feb 20 12:03:08 2016
@@ -5064,6 +5064,9 @@
         <value xml:lang="zh">已成功创建联系方式。</value>
         <value xml:lang="zh-TW">已成功新建聯絡方式.</value>
     </property>
+    <property key="PartyContactMechanismSuccessfullyDeleted">
+        <value xml:lang="en">Record deleted successfully.</value>
+    </property>
     <property key="PartyContactMechanismSuccessfullyUpdated">
         <value xml:lang="ar">تم تحديث وسيلة الإتصال بنجاح</value>
         <value xml:lang="cs">Kontakt byl úspěšně aktualizován.</value>

Modified: ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=1731382&r1=1731381&r2=1731382&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original)
+++ ofbiz/trunk/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Sat Feb 20 12:03:08 2016
@@ -958,7 +958,7 @@ public class ContactMechServices {
                     UtilMisc.toMap("errMessage", e.getMessage()), locale));
         }
 
-        result.put(ModelService.RESPONSE_MESSAGE, ModelService.RESPOND_SUCCESS);
+        result.put(ModelService.SUCCESS_MESSAGE, UtilProperties.getMessage(resource, "PartyContactMechanismSuccessfullyDeleted", locale));
         return result;
     }