Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002196Openbravo ERP04. Warehouse managementpublic2007-10-30 16:502008-07-08 17:48
Hennadzi 
pheenan 
normalminoralways
closedfixed 
5
 
2.40beta 
Core
No
0002196: AT235: Java error on Change Payment Status
Enviroment:
OS: Windows XP SP2
DB: Postgre SQL 8.2
Browser: FF2
Openbravo: 2.35
Language: English


When I select a payment within Change Payment Status and process it, I get
an Java Error:
Error: Error
java.lang.ClassCastException: java.lang.String
PostgreSQL
depends on backport 0003688 closed pheenan AT235: Java error on Change Payment Status 
Issue History
2008-07-04 18:50plujanTag Attached: PostgreSQL
2008-07-08 17:48psarobeStatusresolved => closed
2008-07-08 17:48psarobeFixed in Version2.40alpha-r2 => 2.40beta

Notes
(0005785)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1822856 [^]
(0002535)
Hennadzi   
2007-10-30 16:50   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1881949
Originator: YES


Problem still exists in 2.35
https://sourceforge.net/tracker/index.php?func=detail&aid=1757721&group_id=162271&atid=823129 [^]
(0002536)
Hennadzi   
2007-10-30 16:52   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1881949
Originator: YES


Problem still exists in 2.35
https://sourceforge.net/tracker/index.php?func=detail&aid=1757721&group_id=162271&atid=823129 [^]
(0002537)
user71   
2008-01-09 10:03   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1236898
Originator: NO

I am experiencing the same error. I hope this bugs will be fix soon.

I had to comment out the offending code in @installsrcdir@/src/org/openbravo/erpCommons/ad_forms/DebtPaymentUnapply.java on line 111 to 117 as follows:

111: // OBError myMessage = vars.getMessage("DebtPaymentUnapply");
112: // vars.removeMessage("DebtPaymentUnapply");
113: // if (myMessage!=null) {
114: // xmlDocument.setParameter("messageType", myMessage.getType());
115: // xmlDocument.setParameter("messageTitle", myMessage.getTitle());
116: // xmlDocument.setParameter("messageMessage", myMessage.getMessage());
117: // }

What will be the consequences for doing this? Please advice.
(0002538)
pheenan   
2008-04-24 16:38   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1883435
Originator: NO

Fixed in 2.3x branch. Revision 3773. Instantiate OBError object correctly and removing Cancel button from form.

Fix to be applied to trunk.
(0002539)
pheenan   
2008-04-24 16:57   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1883435
Originator: NO

Fixed in 2.3x branch. Revision 3773. Instantiate OBError object correctly and removing Cancel button from form.

Fix to be applied to trunk.
(0002540)
pheenan   
2008-04-24 17:05   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1883435
Originator: NO

Fixed in 2.3x branch. Revision 3773. Instantiate OBError object correctly and removing Cancel button from form.

Fix to be applied to trunk.
(0002541)
pheenan   
2008-05-06 13:17   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1883435
Originator: NO

Fixed in revision 3964.

Instantiate OBError object correctly.
Process now checks that an entry has been ticked and if not returns info message to say 'No records selected'.
Added column for currency and broke out the Amount into Amount and Currency - Amount not being returned correctly to the column.
Added extra replace parameter to xsql file to replace the language clause with the current language parameter for the application.
Amended column widths.