Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0036065 | Openbravo ERP | A. Platform | public | 2017-05-22 16:52 | 2023-07-04 12:34 |
Reporter | javietxe | ||||
Assigned To | Triage Platform Base | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0036065: [SERQA 2875] Exceptions in onTransactionCompleted | ||||
Description | When implementing an event handler in java, if the method onTransactionCompleted is implemented and an exception happens, the database transaction is never closed. The transaction must be closed. | ||||
Steps To Reproduce | 1) Implement a event handler reading any entity. 2) put this code on it: public void onTransactionCompleted(@Observes TransactionCompletedEvent event) { throw new NullPointerException(); } 3) See that the transaction is not closed. | ||||
Proposed Solution | Capture the exceptions in a centralized way in a parent class or document that in onTransactionCompleted method no exception throwing is allowed. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-05-22 16:52 | javietxe | New Issue | |||
2017-05-22 16:52 | javietxe | Assigned To | => platform | ||
2017-05-22 16:52 | javietxe | Modules | => Core | ||
2017-05-22 16:52 | javietxe | Resolution time | => 1496613600 | ||
2017-05-22 16:52 | javietxe | Triggers an Emergency Pack | => No | ||
2022-02-01 08:07 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |