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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0047607
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsminorhave not tried2021-08-30 11:572021-08-30 12:32
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0047607: IdentificatorVerbosityGenerator and Hibernate Upgrade

DescriptionThe 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.
Steps To ReproduceSet 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$"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by feature request 0037064 closedcaristu Openbravo ERP upgrade hibernate to 5.3.2 

-  Notes
(0131436)
hgbot (developer)
2021-08-30 12:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/30 [^]
(0131439)
hgbot (developer)
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 (developer)
2021-08-30 12:32

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/30 [^]

- Issue History
Date Modified Username Field Change
2021-08-30 11:57 vmromanos New Issue
2021-08-30 11:57 vmromanos Assigned To => vmromanos
2021-08-30 11:57 vmromanos Relationship added caused by 0037064
2021-08-30 11:57 vmromanos Status new => scheduled
2021-08-30 12:12 hgbot Note Added: 0131436
2021-08-30 12:32 hgbot Resolution open => fixed
2021-08-30 12:32 hgbot Status scheduled => closed
2021-08-30 12:32 hgbot Note Added: 0131439
2021-08-30 12:32 hgbot Note Added: 0131440
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker