Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0047607 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Modules] Advanced Warehouse Operations | minor | have not tried | 2021-08-30 11:57 | 2021-08-30 12:32 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Regression date | ||||||||
Regression introduced by commit | ||||||||
Regression level | ||||||||
Review Assigned To | ||||||||
Regression introduced in release | ||||||||
Summary | 0047607: IdentificatorVerbosityGenerator and Hibernate Upgrade | |||||||
Description | 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. | |||||||
Steps To Reproduce | 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$" | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||
|
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 |