Openbravo Issue Tracking System - Modules
View Issue Details
0047607ModulesAdvanced Warehouse Operationspublic2021-08-30 11:572021-08-30 12:32
vmromanos 
vmromanos 
normalminorhave not tried
closedfixed 
5
 
 
0047607: IdentificatorVerbosityGenerator and Hibernate Upgrade
The IdentificatorVerbosityGenerator contains a hack to be able to get the correct java class name from a object created by the hibernate proxy.

This kind of objects belong to a java class name with a suffix "_$$_javassist_".
In recent Hibernate versions this suffix has been replaced by "$HibernateProxy$", so this code won't work anymore.
Set a breakpoint inside IdentificatorVerbosityGenerator.getClassNameWithoutSuffix() and monitor the className param.

Run the AWO test suite in debug mode. Verify objects created by hibernate proxy doesn't have the "_$$_javassist_" suffix but "$HibernateProxy$"
No tags attached.
caused by feature request 0037064 closed caristu Openbravo ERP upgrade hibernate to 5.3.2 
Issue History
2021-08-30 11:57vmromanosNew Issue
2021-08-30 11:57vmromanosAssigned To => vmromanos
2021-08-30 11:57vmromanosRelationship addedcaused by 0037064
2021-08-30 11:57vmromanosStatusnew => scheduled
2021-08-30 12:12hgbotNote Added: 0131436
2021-08-30 12:32hgbotResolutionopen => fixed
2021-08-30 12:32hgbotStatusscheduled => closed
2021-08-30 12:32hgbotNote Added: 0131439
2021-08-30 12:32hgbotNote Added: 0131440
2022-09-06 17:18caristuCategoryAdvance Warehouse Operations => Advanced Warehouse Operations

Notes
(0131436)
hgbot   
2021-08-30 12:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/30 [^]
(0131439)
hgbot   
2021-08-30 12:32   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: aa54da8bedfffa07402f4a1c7a93fb1b1cc96a0e
Author: Víctor Martínez Romanos <victor.martinez@openbravo.com>
Date: 2021-08-30T12:04:22+02:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/aa54da8bedfffa07402f4a1c7a93fb1b1cc96a0e [^]

Fixed ISSUE-47607: IdentificatorVerbosityGenerator and Hibernate Upgrade

Replaced old "_$$_javassist_" suffix by "$HibernateProxy$", which is
the one used right now to identify objects created by the hibernate proxy

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/verbosity/identificator/IdentificatorVerbosityGenerator.java
---
(0131440)
hgbot   
2021-08-30 12:32   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/30 [^]