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:06:41 UTC

svn commit: r1731383 - in /ofbiz/branches/release15.12: ./ applications/party/config/PartyUiLabels.xml applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Author: arunpatidar
Date: Sat Feb 20 12:06:41 2016
New Revision: 1731383

URL: http://svn.apache.org/viewvc?rev=1731383&view=rev
Log:
Applied fix from trunk for revision: 1731382 
===

[OFBIZ-6911] Added return message in service after succesfully deleting of contactMech record. Thanks Aman for providing patch. 

Modified:
    ofbiz/branches/release15.12/   (props changed)
    ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml
    ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java

Propchange: ofbiz/branches/release15.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Sat Feb 20 12:06:41 2016
@@ -9,4 +9,4 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/trunk:1722712,1723007,1723248,1724402,1724411,1724566,1724689,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724975,1724978,1725006,1725217,1725257,1725561,1725574,1726388,1726486,1726493,1726828,1728398,1728411,1729005,1729078,1729609,1729809,1730035,1730456,1730735-1730736,1730882,1730889
+/ofbiz/trunk:1722712,1723007,1723248,1724402,1724411,1724566,1724689,1724763,1724916,1724918,1724925,1724930,1724940,1724943,1724946,1724951,1724957,1724975,1724978,1725006,1725217,1725257,1725561,1725574,1726388,1726486,1726493,1726828,1728398,1728411,1729005,1729078,1729609,1729809,1730035,1730456,1730735-1730736,1730882,1730889,1731382

Modified: ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml?rev=1731383&r1=1731382&r2=1731383&view=diff
==============================================================================
--- ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/branches/release15.12/applications/party/config/PartyUiLabels.xml Sat Feb 20 12:06:41 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/branches/release15.12/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java?rev=1731383&r1=1731382&r2=1731383&view=diff
==============================================================================
--- ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java (original)
+++ ofbiz/branches/release15.12/applications/party/src/org/ofbiz/party/contact/ContactMechServices.java Sat Feb 20 12:06:41 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;
     }