Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056840 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] A. Platform | major | always | 2024-10-19 09:52 | 2024-10-21 10:35 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | PR24Q2.4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | PR24Q2.4 | |||
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 | 0056840: compilation error: [java] org.postgresql.util.PSQLException: Bad value for type int : 2173831272 | |||||||
Description | Executing update.database command, error is happening when the postgresql OID assigned to functions is higher than max int value (2,147,483,647). java.lang.NumberFormatException: For input string: "2177813260" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.parseInt(Integer.java:770) at org.apache.ddlutils.platform.postgresql.PostgreSqlModelLoader.getOperatorClassName(PostgreSqlModelLoader.java:955) at org.apache.ddlutils.platform.postgresql.PostgreSqlModelLoader.readIndex(PostgreSqlModelLoader.java:932) at org.apache.ddlutils.platform.ModelLoaderBase$7.getRow(ModelLoaderBase.java:354) at org.apache.ddlutils.platform.ModelLoaderBase.readList(ModelLoaderBase.java:665) at org.apache.ddlutils.platform.ModelLoaderBase.readIndexes(ModelLoaderBase.java:351) at org.apache.ddlutils.platform.ModelLoaderBase.readTable(ModelLoaderBase.java:264) at org.apache.ddlutils.platform.ModelLoaderBase$1.getRow(ModelLoaderBase.java:207) at org.apache.ddlutils.platform.ModelLoaderBase.readList(ModelLoaderBase.java:665) at org.apache.ddlutils.platform.ModelLoaderBase.readTables(ModelLoaderBase.java:203) at org.apache.ddlutils.platform.ModelLoaderBase.readDatabase(ModelLoaderBase.java:162) | |||||||
Steps To Reproduce | See it being reproduced in ci: https://builds.openbravo.com/job/try-pos2-checks-modules-pgsql/7200/testReport/ [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0170658) hgbot (developer) 2024-10-21 10:21 |
Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/51 [^] |
(0170659) hgbot (developer) 2024-10-21 10:23 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1399 [^] |
(0170660) hgbot (developer) 2024-10-21 10:35 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/dbsm [^] Changeset: b503dce20d98c2a3e493f40d6f79f7c76f76aa7e Author: Augusto Mauch <a.mauch@orisha.com> Date: 21-10-2024 10:21:07 URL: https://gitlab.com/openbravo/product/dbsm/-/commit/b503dce20d98c2a3e493f40d6f79f7c76f76aa7e [^] Fixes ISSUE-56840: Fixes errors related to storing oids in ints - 24Q2 --- M src/org/apache/ddlutils/platform/postgresql/PostgreSqlModelLoader.java --- |
(0170661) hgbot (developer) 2024-10-21 10:35 |
Merge request merged: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/51 [^] |
(0170662) hgbot (developer) 2024-10-21 10:35 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1399 [^] |
(0170663) hgbot (developer) 2024-10-21 10:35 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: f9818c2621c54bf59dda98c476081e1ccb797b64 Author: Augusto Mauch <a.mauch@orisha.com> Date: 21-10-2024 10:23:09 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/f9818c2621c54bf59dda98c476081e1ccb797b64 [^] Fixes ISSUE-56840: Fixes errors related to storing oids in ints - 24Q2 --- A referencedata/sampledata/F_B_International_Group/C_UOM_MADEUP.xml M src-db/database/lib/dbsourcemanager.jar --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-10-19 09:57 | AugustoMauch | Type | defect => backport |
2024-10-19 09:57 | AugustoMauch | Target Version | => PR24Q2.4 |
2024-10-21 10:21 | hgbot | Note Added: 0170658 | |
2024-10-21 10:23 | hgbot | Note Added: 0170659 | |
2024-10-21 10:35 | hgbot | Resolution | open => fixed |
2024-10-21 10:35 | hgbot | Status | scheduled => closed |
2024-10-21 10:35 | hgbot | Note Added: 0170660 | |
2024-10-21 10:35 | hgbot | Note Added: 0170661 | |
2024-10-21 10:35 | hgbot | Note Added: 0170662 | |
2024-10-21 10:35 | hgbot | Fixed in Version | => PR24Q2.4 |
2024-10-21 10:35 | hgbot | Note Added: 0170663 |
Copyright © 2000 - 2009 MantisBT Group |