Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038664
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminoralways2018-05-30 19:032018-07-17 10:13
ReporterjarmendarizView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionfixedFixed in Version3.0PR18Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038664: Exceptions generated by trigger appears twice when using Oracle

DescriptionOn Postgres when a trigger exception is raised, Hibernate print a log line reporting the error. However, when Oracle is used, this log line is printed twice.
Steps To ReproduceAssuming that the ERP is using Oracle and no module has the "In Development" field checked:
- Log in as System Administrator
- Go to [Windows, Tabs and Fields]
- Edit any window, change its name and save
- It should appear an error message "Saving failed. Cannot update an object in a module not in development and without an active template"

Now if checking the Hibernate log, the following error line should appear twice:

ERROR org.hibernate.util.JDBCExceptionReporter - ORA-20000: @20532@
ORA-06512: at "INT_FULL_ORACLE.AD_WINDOW_MOD_TRG", line 78
ORA-04088: error during execution of trigger 'INT_FULL_ORACLE.AD_WINDOW_MOD_TRG'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0037064 closedcaristu upgrade hibernate to 5.3.2 

-  Notes
(0104818)
jarmendariz (developer)
2018-05-30 19:07

This is a Hibernate with Oracle bug. The double print is generated in JDBCExceptionReporter:logExceptions(SqlException, String). Check if this behavior can still be reproduced with the latest version of Hibernate, and if so, report it.
(0105114)
caristu (developer)
2018-06-13 09:26

Reported to Hibernate: https://hibernate.atlassian.net/browse/HHH-12688 [^]
(0105172)
alostale (manager)
2018-06-15 10:56

Moving to design defect as it is an issue in Hibernate: https://hibernate.atlassian.net/browse/HHH-12688 [^]
(0105769)
caristu (developer)
2018-07-17 10:13

Fixed with 0037064

Starting from Hibernate version 5.3.2 this issue is fixed.

- Issue History
Date Modified Username Field Change
2018-05-30 19:03 jarmendariz New Issue
2018-05-30 19:03 jarmendariz Assigned To => platform
2018-05-30 19:03 jarmendariz Modules => Core
2018-05-30 19:03 jarmendariz Triggers an Emergency Pack => No
2018-05-30 19:07 jarmendariz Note Added: 0104818
2018-05-30 19:09 jarmendariz Relationship added related to 0037064
2018-06-13 09:26 caristu Note Added: 0105114
2018-06-15 10:56 alostale Note Added: 0105172
2018-06-15 10:56 alostale Status new => acknowledged
2018-06-15 10:56 alostale Type defect => design defect
2018-07-17 10:11 caristu Status acknowledged => scheduled
2018-07-17 10:13 caristu Review Assigned To => caristu
2018-07-17 10:13 caristu Note Added: 0105769
2018-07-17 10:13 caristu Status scheduled => closed
2018-07-17 10:13 caristu Resolution open => fixed
2018-07-17 10:13 caristu Fixed in Version => 3.0PR18Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker