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 | 2025-03-27 12:06 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | duplicate | 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 | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
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 | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(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. |
(0177439) hgbot (developer) 2025-03-27 12:06 |
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24172 [^] |
![]() |
|||
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 | OBNetwork customer | => No |
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 | |
2024-11-18 14:52 | AugustoMauch | Relationship added | blocks 0056039 |
2025-03-27 12:06 | hgbot | Note Added: 0177439 | |
2025-03-27 12:06 | hgbot | Status | new => closed |
2025-03-27 12:06 | hgbot | Resolution | open => duplicate |
Copyright © 2000 - 2009 MantisBT Group |