Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformmajoralways2017-05-22 16:522023-07-04 12:34
ReporterjavietxeView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo

0036065: [SERQA 2875] Exceptions in onTransactionCompleted

DescriptionWhen 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 Reproduce1) 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 SolutionCapture the exceptions in a centralized way in a parent class or document that in onTransactionCompleted method no exception throwing is allowed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker