Openbravo Issue Tracking System - Modules
View Issue Details
0039190ModulesExternal Data Integrationpublic2018-08-27 09:342018-10-16 13:57
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
 
caristu
0039190: Update catch blocks in to support latest version of Hibernate
There 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
-
No tags attached.
related to feature request 0037064 closed caristu Openbravo ERP upgrade hibernate to 5.3.2 
related to defect 0039181 closed AugustoMauch Modules If an exception is thrown when importing an item, the error message stored in the EDL Request Line is not meaningful 
Issue History
2018-08-27 09:34AugustoMauchNew Issue
2018-08-27 09:34AugustoMauchAssigned To => AugustoMauch
2018-08-27 09:34AugustoMauchRelationship addedrelated to 0037064
2018-08-27 09:34AugustoMauchRelationship addedrelated to 0039181
2018-08-27 09:49hgbotCheckin
2018-08-27 09:49hgbotNote Added: 0106489
2018-08-27 09:49hgbotStatusnew => resolved
2018-08-27 09:49hgbotResolutionopen => fixed
2018-08-27 09:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/c009c26987d86bc8f3e457920643ccd64a961fc9 [^]
2018-08-27 10:04AugustoMauchReview Assigned To => caristu
2018-09-10 09:35caristuNote Added: 0106646
2018-09-10 09:35caristuStatusresolved => closed
2018-10-16 13:53hgbotCheckin
2018-10-16 13:53hgbotNote Added: 0107333
2018-10-16 13:53hgbotStatusclosed => resolved
2018-10-16 13:53hgbotFixed in SCM revisionhttp://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:56gorka_gilFixed in SCM revisionhttp://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:57gorka_gilStatusresolved => closed
2018-10-16 13:57gorka_gilNote Deleted: 0107333

Notes
(0106489)
hgbot   
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   
2018-09-10 09:35   
Reviewed + tested