Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031452 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-11-12 14:19 | 2015-12-11 10:46 | |||
Reporter | aferraz | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 2ec4bfb5b7c9 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | dmiguelez | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031452: Controlled exceptions should not be logged in error mode | |||||||
Description | When we do some checks while running any process and we want to inform user about any controlled error, we normally throw an OBException which is logged in error mode, and it should not. Only uncontrolled exceptions should be logged in error mode. It will be better to show an error in the UI (as it is done now), and to log the exception in debug mode instead of in error mode. This will help to have a more clear log. In this case, instead of using: throw new OBException(message); we should use: log.debug(message); throw new OBException(message, false); to tell OBException we do not want to log the exception in error mode, and do it ourselves in debug mode. | |||||||
Steps To Reproduce | N/A | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0082087) hgbot (developer) 2015-11-23 13:24 |
Repository: erp/devel/pi Changeset: 2ec4bfb5b7c9aaa42dce9dca5ac05bd73c818a48 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Nov 12 14:34:31 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/2ec4bfb5b7c9aaa42dce9dca5ac05bd73c818a48 [^] Fixes issue 31452: Avoid log @APRM_INVALID_TRANSACTION@ exception in error mode Avoid log @APRM_INVALID_TRANSACTION@ exception in error mode in FIN_FinaccTransactionEventListener.validateTransactionType method, and do it in debug mode instead. This will avoid unstable executions when running APRM automated tests. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/event/FIN_FinaccTransactionEventListener.java --- |
(0082088) hgbot (developer) 2015-11-23 13:24 |
Repository: erp/devel/pi Changeset: c3fce2ec13d9df8b1e536d8edad53e6847e69e10 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Nov 12 14:45:02 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c3fce2ec13d9df8b1e536d8edad53e6847e69e10 [^] Related to issue 31452: Avoid log @APRM_PaymentNoLines@ exception in error mode Avoid log @APRM_PaymentNoLines@ exception in error mode in FIN_PaymentProcess.processPayment method, and do it in debug mode instead. This will avoid unstable executions when running APRM automated tests. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java --- |
(0082089) hgbot (developer) 2015-11-23 13:24 |
Repository: erp/devel/pi Changeset: 8a03fc30c8e38b22222f4806a3dc1437f19baec5 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu Nov 12 14:52:08 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/8a03fc30c8e38b22222f4806a3dc1437f19baec5 [^] Related to issue 31452: Avoid log @PeriodNotAvailable@ exception in error mode Avoid log @PeriodNotAvailable@ exception in error mode in AddPaymentActionHandler.createNewPayment method, and do it in debug mode instead. This will avoid unstable executions when running APRM automated tests. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java --- |
(0082269) hudsonbot (developer) 2015-11-23 21:17 |
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/7b56bebaaa88 [^] Maturity status: Test |
(0082270) hudsonbot (developer) 2015-11-23 21:17 |
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/7b56bebaaa88 [^] Maturity status: Test |
(0082271) hudsonbot (developer) 2015-11-23 21:17 |
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/7b56bebaaa88 [^] Maturity status: Test |
(0082677) dmiguelez (developer) 2015-12-11 10:46 |
Code Review + Testing Ok |
Issue History | |||
Date Modified | Username | Field | Change |
2015-11-12 14:19 | aferraz | New Issue | |
2015-11-12 14:19 | aferraz | Assigned To | => platform |
2015-11-12 14:19 | aferraz | Modules | => Core |
2015-11-12 14:19 | aferraz | Triggers an Emergency Pack | => No |
2015-11-12 14:20 | aferraz | Summary | Controlled exceptions should not be logged => Controlled exceptions should not be logged in error mode |
2015-11-12 14:21 | aferraz | Description Updated | View Revisions |
2015-11-12 14:43 | aferraz | Relationship added | depends on 0031451 |
2015-11-12 14:53 | aferraz | Assigned To | platform => aferraz |
2015-11-23 13:24 | hgbot | Checkin | |
2015-11-23 13:24 | hgbot | Note Added: 0082087 | |
2015-11-23 13:24 | hgbot | Status | new => resolved |
2015-11-23 13:24 | hgbot | Resolution | open => fixed |
2015-11-23 13:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2ec4bfb5b7c9aaa42dce9dca5ac05bd73c818a48 [^] |
2015-11-23 13:24 | hgbot | Checkin | |
2015-11-23 13:24 | hgbot | Note Added: 0082088 | |
2015-11-23 13:24 | hgbot | Checkin | |
2015-11-23 13:24 | hgbot | Note Added: 0082089 | |
2015-11-23 21:17 | hudsonbot | Checkin | |
2015-11-23 21:17 | hudsonbot | Note Added: 0082269 | |
2015-11-23 21:17 | hudsonbot | Checkin | |
2015-11-23 21:17 | hudsonbot | Note Added: 0082270 | |
2015-11-23 21:17 | hudsonbot | Checkin | |
2015-11-23 21:17 | hudsonbot | Note Added: 0082271 | |
2015-12-11 10:46 | dmiguelez | Review Assigned To | => dmiguelez |
2015-12-11 10:46 | dmiguelez | Note Added: 0082677 | |
2015-12-11 10:46 | dmiguelez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |