Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0056729 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2024-10-10 11:42 | 2024-10-10 11:44 | |||||||
Reporter | shuehner | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0056729: export.config.script produces wrong data when run with jdk21 (that causes later update.database to fail) | |||||||||||
Description | Running ant export.config.script with java21 produces two extra tags in the configScript.xml which did not happen when running it before (i.e. with java11 or java17). Those two tags are: - <first> - <last> and are added at the beginning of the <vector> element. They 'duplicate' the first + last normal elements of the <vector>. Apart from being a formal change those tags existing makes later update.database call to fail as it cannot parse those extra tags. | |||||||||||
Steps To Reproduce | Using java_home pointing to jdk21 in workspace with backoffice (no extra modules needed) ant install.source set template module in development: - update ad_module set isindevelopment = 'Y' where type = 'T'; ant export.config.script git diff # review the output for the configScript.xml in org.openbravo.v3 module ant update.database # It fails parsing the configScript.xml | |||||||||||
Proposed Solution | Ensure the extra tags are not getting emitted | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0170257) shuehner (administrator) 2024-10-10 11:44 |
Problem might be side-effect of this change in Jdk21 affecting the Java Collections api: https://openjdk.org/jeps/431 [^] It seems that commons-betwixt library is picking up extra first/last methods/members of java.util.Vector and the mis-behaving. |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-10 11:42 | shuehner | New Issue | |
2024-10-10 11:42 | shuehner | Assigned To | => Triage Platform Base |
2024-10-10 11:42 | shuehner | Modules | => Core |
2024-10-10 11:42 | shuehner | Triggers an Emergency Pack | => No |
2024-10-10 11:42 | shuehner | Relationship added | related to 0054490 |
2024-10-10 11:42 | shuehner | Relationship added | blocks 0054449 |
2024-10-10 11:44 | shuehner | Note Added: 0170257 |
Copyright © 2000 - 2009 MantisBT Group |