Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039149 | Openbravo ERP | A. Platform | public | 2018-08-17 11:52 | 2018-09-24 16:15 |
|
Reporter | vmromanos | |
Assigned To | Triage Finance | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR18Q4 | Fixed in Version | 3.0PR18Q4 | |
Merge Request Status | |
Review Assigned To | caristu |
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 | 0039149: Error message thrown by Oracle trigger after Hibernate upgrade [Oracle only] |
Description | One of our AWO JUnit test is failing after the Hibernate upgrade in Oracle only. It seems there is a regression in the way the message is caught, parsed and then sent to the UI. |
Steps To Reproduce | It is easily reproducible in the mod-awo job. See for example https://ci.openbravo.com/job/mod-simple/27521/testReport/junit/org.openbravo.warehouse.advancedwarehouseoperations.test/AWOb_BasicFunctionalFlowsWithAWOPreference/aWOb040B_AWOEnabledInventoryCountNotCompleted/ [^]
Error message:
The exception thrown should have been "could not execute update query" :
Expected: "ERROR: @OBAWO_FlowEnabled@"
but: was "ORA-20000: @OBAWO_FlowEnabled@\nORA-06512: at \"MOD_SIMPLE_CI23141.OBAWO_M_TRANSACTION_TRG\", line 151\nORA-04088: error during execution of trigger 'MOD_SIMPLE_CI23141.OBAWO_M_TRANSACTION_TRG'\n" |
Proposed Solution | Change the code that parses the error message thrown by the trigger in Oracle to behave the same way as before the Hibernate upgrade |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0021911 | 3.0MP18 | closed | ioritzCia | Wrong error when processing inventory | caused by | feature request | 0037064 | | closed | caristu | upgrade hibernate to 5.3.2 | related to | defect | 0039163 | | closed | AtulOpenbravo | QueryTimeoutException is no longer thrown in Oracle after Hibernate 5.3 upgrade |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-08-17 11:52 | vmromanos | New Issue | |
2018-08-17 11:52 | vmromanos | Assigned To | => platform |
2018-08-17 11:52 | vmromanos | Modules | => Core |
2018-08-17 11:52 | vmromanos | Triggers an Emergency Pack | => No |
2018-08-17 11:53 | vmromanos | Relationship added | caused by 0037064 |
2018-08-20 13:20 | caristu | Relationship added | related to 0021911 |
2018-08-21 08:32 | caristu | Note Added: 0106416 | |
2018-08-21 08:33 | caristu | Note Edited: 0106416 | bug_revision_view_page.php?bugnote_id=0106416#r17544 |
2018-08-21 09:35 | caristu | Assigned To | platform => Triage Finance |
2018-08-21 13:11 | caristu | Relationship added | related to 0039163 |
2018-09-24 16:15 | caristu | Review Assigned To | => caristu |
2018-09-24 16:15 | caristu | Note Added: 0106970 | |
2018-09-24 16:15 | caristu | Status | new => closed |
2018-09-24 16:15 | caristu | Resolution | open => no change required |
2018-09-24 16:15 | caristu | Fixed in Version | => 3.0PR18Q4 |