Openbravo Issue Tracking System - Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0037913 | Modules | DB Pool Logging Utilities | public | 2018-02-14 12:56 | 2018-03-06 13:27 |
|
Reporter | joniturralde93 | |
Assigned To | alostale | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | caristu |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0037913: Exception thrown by trigger is logged as UndeclaredThrowableException instead of real one |
Description | When a trigger exception is thrown, the invoke method of StatementInvocationHandler throws an InvocationTargetException and later hibernate is throwing as UndeclaredThrowableException, which is not properly handled by Openbravo. |
Steps To Reproduce | 1. Install and configure DB Pool Logging Utilities to log slow statements
2. With no modules in dev log in as System Admin
3. Open Sales Order window definition
4. Edit its description
5. Save
-> GOT: Generic error message: "Saving failed"
EXPECTED: Concrete error message as thrown by trigger: "Saving failed. Cannot update an object in a module not in development and without an active template" |
Proposed Solution | The invoke method of StatementInvocationHandler should catch these exceptions and throw the original ones. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-14 12:56 | joniturralde93 | New Issue | |
2018-02-14 12:56 | joniturralde93 | Assigned To | => platform |
2018-02-14 12:56 | joniturralde93 | Resolution time | => 1520377200 |
2018-02-14 15:03 | Practics | Issue Monitored: Practics | |
2018-02-20 08:05 | alostale | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16741#r16741 |
2018-02-20 08:05 | alostale | Assigned To | platform => alostale |
2018-02-20 08:05 | alostale | Review Assigned To | => caristu |
2018-02-20 08:15 | hgbot | Checkin | |
2018-02-20 08:15 | hgbot | Note Added: 0102505 | |
2018-02-20 08:15 | hgbot | Status | new => resolved |
2018-02-20 08:15 | hgbot | Resolution | open => fixed |
2018-02-20 08:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/f327c49b345903ca9ed6c77c6675ba2a3ce79c90 [^] |
2018-02-20 08:17 | alostale | Note Added: 0102506 | |
2018-03-06 13:27 | caristu | Note Added: 0103027 | |
2018-03-06 13:27 | caristu | Status | resolved => closed |