Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019183Openbravo ERP01. General setuppublic2011-11-25 08:592011-11-30 12:36
maite 
mirurita 
urgentmajoralways
closedfixed 
5
3.0MP5.1 
3.0MP63.0MP5.2 
Core
No
0019183: Arithmetical exception in FIN_PaymentMonitorProcess background process
Arithmetical exception in FIN_PaymentMonitorProcess background process.
Line 429 throws "java.lang.ArithmeticException: Non-terminating decimal expansion; no exact representable decimal result." when trying to perform "divide" action
use ".divide(generatedPaymentTotalAmount,BigDecimal.ROUND_HALF_UP);"
instead of ".divide(generatedPaymentTotalAmount)" to decrease number of decimals
No tags attached.
Issue History
2011-11-25 08:59maiteNew Issue
2011-11-25 08:59maiteAssigned To => jonalegriaesarte
2011-11-25 08:59maiteModules => Core
2011-11-25 12:05maiteProposed Solution updated
2011-11-25 12:06maiteAssigned Tojonalegriaesarte => mirurita
2011-11-25 12:21shuehnerIssue Monitored: shuehner
2011-11-25 13:52hgbotCheckin
2011-11-25 13:52hgbotNote Added: 0043265
2011-11-25 13:52hgbotStatusnew => resolved
2011-11-25 13:52hgbotResolutionopen => fixed
2011-11-25 13:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d2dcb6ae53f8803f91f2c2035f2c15bde87da90b [^]
2011-11-25 13:55maiteNote Added: 0043273
2011-11-25 13:55maiteStatusresolved => closed
2011-11-25 13:55maiteFixed in Version => 3.0MP5.2
2011-11-30 12:36hudsonbotCheckin
2011-11-30 12:36hudsonbotNote Added: 0043559

Notes
(0043265)
hgbot   
2011-11-25 13:52   
Repository: erp/devel/pi
Changeset: d2dcb6ae53f8803f91f2c2035f2c15bde87da90b
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Fri Nov 25 13:51:14 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d2dcb6ae53f8803f91f2c2035f2c15bde87da90b [^]

Fixes issue 19183: Arithmetical exception in FIN_PaymentMonitorProcess background process

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
---
(0043273)
maite   
2011-11-25 13:55   
verified
(0043559)
hudsonbot   
2011-11-30 12:36   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/01809c7b3135 [^]

Maturity status: Test