Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0039163 | Openbravo ERP | 04. Warehouse management | public | 2018-08-21 10:52 | 2019-03-28 14:55 | ||||||||||||||
Reporter | vmromanos | ||||||||||||||||||
Assigned To | AtulOpenbravo | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR19Q2 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | dmiguelez | ||||||||||||||||||
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 | 0039163: QueryTimeoutException is no longer thrown in Oracle after Hibernate 5.3 upgrade | ||||||||||||||||||
Description | In case of exceptions thrown by triggers in Oracle before Hibernate upgrade they were thrown as QueryTimeoutException. However after Hibernate upgrade it is used GenericJDBCException instead (exactly the same as in PostgreSQL). In InventoryCountProcess there is a catch block that differentiate between PG and Oracle. After Hibernate upgrade there is no need to differentiate anymore, but also we need to make sure the exception message is properly thrown in both databases. Similar use of QueryTimeoutException could be also found in 1. VariantChDescUpdateProcess.java 2. VariantAutomaticGenerationProcess | ||||||||||||||||||
Steps To Reproduce | To force a trigger exception, open the M_TRANSACTION_TRG2 and throw an exception at the beginning of the trigger. Example: RAISE_APPLICATION_ERROR(-20000, '@CannotUseGenericProduct@'); Login as Openbravo Admin Open Physical Inventory window. Create a header. Create a line and select any product. Modify the qty (for example add one unit). Process the record. The exception is thrown. Verify the message is properly shown in both Oracle and PG. | ||||||||||||||||||
Proposed Solution | Attached proposed solution | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | pg_ora_invcount.diff (3,149) 2018-08-21 10:52 https://issues.openbravo.com/file_download.php?file_id=12063&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2018-08-21 10:52 | vmromanos | New Issue | |||||||||||||||||
2018-08-21 10:52 | vmromanos | Assigned To | => Triage Finance | ||||||||||||||||
2018-08-21 10:52 | vmromanos | File Added: pg_ora_invcount.diff | |||||||||||||||||
2018-08-21 10:52 | vmromanos | Modules | => Core | ||||||||||||||||
2018-08-21 10:52 | vmromanos | Triggers an Emergency Pack | => No | ||||||||||||||||
2018-08-21 10:53 | vmromanos | Relationship added | related to 0037064 | ||||||||||||||||
2018-08-21 13:11 | caristu | Relationship added | related to 0039149 | ||||||||||||||||
2018-08-21 21:05 | AtulOpenbravo | Status | new => scheduled | ||||||||||||||||
2018-08-30 20:45 | AtulOpenbravo | Description Updated | bug_revision_view_page.php?rev_id=17586#r17586 | ||||||||||||||||
2018-09-04 09:00 | AtulOpenbravo | Note Added: 0106590 | |||||||||||||||||
2018-11-28 11:13 | AtulOpenbravo | Note Added: 0108143 | |||||||||||||||||
2018-11-28 11:14 | AtulOpenbravo | Note Edited: 0108143 | bug_revision_view_page.php?bugnote_id=0108143#r17981 | ||||||||||||||||
2018-11-28 11:18 | AtulOpenbravo | Note Added: 0108144 | |||||||||||||||||
2018-11-28 11:18 | AtulOpenbravo | Note Edited: 0108143 | bug_revision_view_page.php?bugnote_id=0108143#r17982 | ||||||||||||||||
2018-11-28 12:26 | AtulOpenbravo | Note Edited: 0108144 | bug_revision_view_page.php?bugnote_id=0108144#r17984 | ||||||||||||||||
2019-01-16 11:48 | hgbot | Checkin | |||||||||||||||||
2019-01-16 11:48 | hgbot | Note Added: 0108977 | |||||||||||||||||
2019-01-16 11:48 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2019-01-16 11:48 | hgbot | Resolution | open => fixed | ||||||||||||||||
2019-01-16 11:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0906b858ed6e5d80adc88c35c2148b650bbc9879 [^] | ||||||||||||||||
2019-01-17 09:29 | dmiguelez | Review Assigned To | => dmiguelez | ||||||||||||||||
2019-01-17 09:29 | dmiguelez | Note Added: 0108988 | |||||||||||||||||
2019-01-17 09:29 | dmiguelez | Status | resolved => closed | ||||||||||||||||
2019-01-17 09:29 | dmiguelez | Fixed in Version | => 3.0PR19Q2 | ||||||||||||||||
2019-01-18 08:29 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo | ||||||||||||||||
2019-03-28 14:55 | hudsonbot | Checkin | |||||||||||||||||
2019-03-28 14:55 | hudsonbot | Note Added: 0110732 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|