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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0039095
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2018-08-06 20:372018-08-20 09:57
Reportercollazoandy4View Statuspublic 
Assigned Tocollazoandy4 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision9ea7361c226a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0039095: Update modules to SQLFunctionRegister

DescriptionThe OBDal.registerSQLFunction allows to register SQL functions at runtime in order to make them available in HQL queries.

In the latest Hibernate releases this is no longer possible, and it is only possible to register such functions when Hibernate is being set up

The following modules should refactor to register the SQL functions when Dal is being initialized.

 - org.openbravo.module.invoiceTaxReportEnhanced30.cashvat
 - org.openbravo.module.aeat340.es
Steps To ReproduceIn Description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038520 closedcaristu Openbravo ERP Deprecate OBDal.registerSQLFunction 
causes defect 0039150 closedcollazoandy4 Localization Pack: Spain 3.6.400 version of this module fails to install with ERP 18Q3 version as accidentally contains changes for Q4 

-  Notes
(0106176)
hgbot (developer)
2018-08-07 14:55

Repository: erp/pmods/org.openbravo.module.aeat340.es
Changeset: 9ea7361c226af4e96542eee9eee5b7bd25a8be9e
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Mon Aug 06 17:33:43 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/9ea7361c226af4e96542eee9eee5b7bd25a8be9e [^]

Related to issue 39095: Update modules to SQLFunctionRegister

Updated code to fully support the new mechanismo of register function in
DAL

---
M src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012APRMDao.java
A src/org/openbravo/module/aeat340/es/util/AEAT340SQLFunctionRegister.java
---
(0106180)
hgbot (developer)
2018-08-08 10:00

Repository: erp/pmods/org.openbravo.module.aeat340.es
Changeset: 5a4d9223272a820d8b59d340efc2eda418d4ee48
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Aug 08 09:20:13 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/5a4d9223272a820d8b59d340efc2eda418d4ee48 [^]

Related to issue 39095: Update modules to SQLFunctionRegister

Updated code to fully support the new mechanismo of register function in
DAL

---
M src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012APRMDao.java
A src/org/openbravo/module/aeat340/es/util/AEAT340SQLFunctionRegister.java
---
(0106181)
Sandrahuguet (developer)
2018-08-08 10:03

org.openbravo.module.invoiceTaxReportEnhanced30.cashvat already fixed in:

org.openbravo.module.invoiceTaxReportEnhanced30.cashvat
https://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/0e0bd3d653997e0db05d293b82c89198e65ba5bf [^]
(0106182)
Sandrahuguet (developer)
2018-08-08 10:03

Code review + testing OK
(0106399)
hgbot (developer)
2018-08-20 09:09

Repository: erp/pmods/org.openbravo.module.aeat340.es
Changeset: 5b195178e0ad26ccd052d0446d4f437676ba3d94
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Fri Aug 17 19:56:35 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/5b195178e0ad26ccd052d0446d4f437676ba3d94 [^]

Fixes issue 39150:Removed changes of 18Q4

The fix for issue 39095 accidentally mixes the fix with an api chan of hibernate
upgrade project from 18Q4

The upgrades changes was removed.

---
M src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012APRMDao.java
---
(0106405)
hgbot (developer)
2018-08-20 09:57

Repository: erp/pmods/org.openbravo.module.aeat340.es
Changeset: b4e12ccaefacf703dc650dc0e1102546bedb237a
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Fri Aug 17 20:12:56 2018 -0400
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/b4e12ccaefacf703dc650dc0e1102546bedb237a [^]

Fixes issue 39150:Removed changes of 18Q4

The fix for issue 39095 accidentally mixes the fix with an api chan of hibernate
upgrade project from 18Q4

The upgrades changes was removed.

---
M src/org/openbravo/module/aeat340/es/api/year2012/AEAT340Report_2012APRMDao.java
---

- Issue History
Date Modified Username Field Change
2018-08-06 20:37 collazoandy4 New Issue
2018-08-06 20:37 collazoandy4 Assigned To => platform
2018-08-06 20:37 collazoandy4 Modules => Core
2018-08-06 20:37 collazoandy4 Triggers an Emergency Pack => No
2018-08-06 20:39 collazoandy4 Assigned To platform => collazoandy4
2018-08-06 20:40 collazoandy4 Status new => scheduled
2018-08-06 20:40 collazoandy4 Category A. Platform => Z. Others
2018-08-06 21:42 collazoandy4 Relationship added related to 0038520
2018-08-07 14:55 hgbot Checkin
2018-08-07 14:55 hgbot Note Added: 0106176
2018-08-08 10:00 hgbot Checkin
2018-08-08 10:00 hgbot Note Added: 0106180
2018-08-08 10:03 Sandrahuguet Note Added: 0106181
2018-08-08 10:03 Sandrahuguet Status scheduled => resolved
2018-08-08 10:03 Sandrahuguet Fixed in SCM revision => https://code.openbravo.com/erp/pmods/org.openbravo.module.aeat340.es/rev/9ea7361c226af4e96542eee9eee5b7bd25a8be9e [^]
2018-08-08 10:03 Sandrahuguet Resolution open => fixed
2018-08-08 10:03 Sandrahuguet Review Assigned To => Sandrahuguet
2018-08-08 10:03 Sandrahuguet Note Added: 0106182
2018-08-08 10:03 Sandrahuguet Status resolved => closed
2018-08-17 12:42 shuehner Relationship added causes 0039150
2018-08-20 09:09 hgbot Checkin
2018-08-20 09:09 hgbot Note Added: 0106399
2018-08-20 09:57 hgbot Checkin
2018-08-20 09:57 hgbot Note Added: 0106405


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker