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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039190
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] External Data Integrationminorhave not tried2018-08-27 09:342018-10-16 13:57
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionc009c26987d8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tocaristu
Regression introduced in release
Summary

0039190: Update catch blocks in to support latest version of Hibernate

DescriptionThere are some errors that used to be caught in a HibernateException catch that are being thrown as PersistenceException in the latest Hibernate version.

Those catch blocks should be updated, HibernateException replaced with PersistenceException
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0037064 closedcaristu Openbravo ERP upgrade hibernate to 5.3.2 
related to defect 0039181 closedAugustoMauch Modules If an exception is thrown when importing an item, the error message stored in the EDL Request Line is not meaningful 

-  Notes
(0106489)
hgbot (developer)
2018-08-27 09:49

Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: c009c26987d86bc8f3e457920643ccd64a961fc9
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Aug 27 09:45:04 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/c009c26987d86bc8f3e457920643ccd64a961fc9 [^]

Fixes issue 39190: HibernateException is now catched as PersistenceException

In Hibernate 5.3, HibernateException extends PersistenceException, it used to extend RuntimeException.

Some exceptions that used to be caught by HibernateException are now other PersistenceException, and
thus not caught by the existing catch blocks.

HibernateException catch blocks have been replaced with PersistenceException blocks.

---
M src/org/openbravo/externaldata/integration/process/AsynchronousProcessor.java
M src/org/openbravo/externaldata/integration/process/DataProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0106646)
caristu (manager)
2018-09-10 09:35

Reviewed + tested

- Issue History
Date Modified Username Field Change
2018-08-27 09:34 AugustoMauch New Issue
2018-08-27 09:34 AugustoMauch Assigned To => AugustoMauch
2018-08-27 09:34 AugustoMauch Relationship added related to 0037064
2018-08-27 09:34 AugustoMauch Relationship added related to 0039181
2018-08-27 09:49 hgbot Checkin
2018-08-27 09:49 hgbot Note Added: 0106489
2018-08-27 09:49 hgbot Status new => resolved
2018-08-27 09:49 hgbot Resolution open => fixed
2018-08-27 09:49 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/c009c26987d86bc8f3e457920643ccd64a961fc9 [^]
2018-08-27 10:04 AugustoMauch Review Assigned To => caristu
2018-09-10 09:35 caristu Note Added: 0106646
2018-09-10 09:35 caristu Status resolved => closed
2018-10-16 13:53 hgbot Checkin
2018-10-16 13:53 hgbot Note Added: 0107333
2018-10-16 13:53 hgbot Status closed => resolved
2018-10-16 13:53 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/c009c26987d86bc8f3e457920643ccd64a961fc9 [^] => http://code.openbravo.com/retail/backports/3.0RR18Q2.4/org.openbravo.retail.posterminal/rev/49068666f0d01cddefc97e52047e41f1cc461920 [^]
2018-10-16 13:56 gorka_gil Fixed in SCM revision http://code.openbravo.com/retail/backports/3.0RR18Q2.4/org.openbravo.retail.posterminal/rev/49068666f0d01cddefc97e52047e41f1cc461920 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/c009c26987d86bc8f3e457920643ccd64a961fc9 [^]
2018-10-16 13:57 gorka_gil Status resolved => closed
2018-10-16 13:57 gorka_gil Note Deleted: 0107333


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker