details:   https://code.openbravo.com/erp/devel/pi/rev/bb6effdf9789
changeset: 22902:bb6effdf9789
user:      Sandra Huguet <sandra.huguet <at> openbravo.com>
date:      Tue Apr 22 18:24:23 2014 +0200
summary:   Related to issue 26082 reactivate and delete lines not shown a 
correct message

diffstat:

 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff -r 924de462d2b4 -r bb6effdf9789 
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
--- 
a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
     Wed Apr 23 08:34:49 2014 +0200
+++ 
b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
     Tue Apr 22 18:24:23 2014 +0200
@@ -1136,7 +1136,8 @@
       msg.setType("Error");
       msg.setTitle(Utility.messageBD(bundle.getConnection(), "Error", 
bundle.getContext()
           .getLanguage()));
-      msg.setMessage(FIN_Utility.getExceptionMessage(e));
+      msg.setMessage(Utility.translateError(bundle.getConnection(), null,
+          bundle.getContext().getLanguage(), 
FIN_Utility.getExceptionMessage(e)).getMessage());
       bundle.setResult(msg);
       OBDal.getInstance().rollbackAndClose();
     }

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to