details:   https://code.openbravo.com/erp/devel/pi/rev/95edb2421ea8
changeset: 17719:95edb2421ea8
user:      Rafa de Miguel <rafael.demiguel <at> openbravo.com>
date:      Mon Aug 20 12:59:56 2012 -0500
summary:   Fixed issue 21400: Attribute creation is returning Success even when 
it fails

diffstat:

 src/org/openbravo/erpCommon/utility/AttributeSetInstanceValue.java |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 57f229938edf -r 95edb2421ea8 
src/org/openbravo/erpCommon/utility/AttributeSetInstanceValue.java
--- a/src/org/openbravo/erpCommon/utility/AttributeSetInstanceValue.java        
Mon Aug 20 17:35:10 2012 +0200
+++ b/src/org/openbravo/erpCommon/utility/AttributeSetInstanceValue.java        
Mon Aug 20 12:59:56 2012 -0500
@@ -254,6 +254,7 @@
       } catch (Exception ignored) {
       }
       log4j.error("Rollback in transaction: ", e);
+      return OBMessageUtils.translateError(e.getMessage());
     }
 
     return myMessage;

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to