Fixed bug 9204 Now Register errors are readed from database.
authorGorka Gil <gorka.gil@openbravo.com>
Wed, 03 Jun 2009 15:42:57 +0200
changeset 3957 f733983eabf8
parent 3956 2ea030117f07
child 3958 d94bb99d4777
Fixed bug 9204 Now Register errors are readed from database.
src/org/openbravo/erpCommon/ad_process/RegisterModule.java
--- a/src/org/openbravo/erpCommon/ad_process/RegisterModule.java	Wed Jun 03 13:38:20 2009 +0200
+++ b/src/org/openbravo/erpCommon/ad_process/RegisterModule.java	Wed Jun 03 15:42:57 2009 +0200
@@ -98,7 +98,7 @@
           OBError message = new OBError();
           message.setType("Error");
           message.setTitle(Utility.messageBD(this, "Error", vars.getLanguage()));
-          message.setMessage(e.getMessage());
+          message.setMessage(Utility.parseTranslation(this, vars, vars.getLanguage(), e.getMessage()));
           vars.setMessage("RegisterModule", message);
           error = true;
           e.printStackTrace();