Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0036065 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] A. Platform | major | always | 2017-05-22 16:52 | 2023-07-04 12:34 | |||||||
Reporter | javietxe | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
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 | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |