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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056838
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajoralways2024-10-19 09:522024-10-21 10:51
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in VersionPR24Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR24Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056838: compilation error: [java] org.postgresql.util.PSQLException: Bad value for type int : 2173831272

DescriptionExecuting 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 ReproduceSee it being reproduced in ci: https://builds.openbravo.com/job/try-pos2-checks-modules-pgsql/7200/testReport/ [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0056837 closedAugustoMauch compilation error: [java] org.postgresql.util.PSQLException: Bad value for type int : 2173831272 

-  Notes
(0170672)
hgbot (developer)
2024-10-21 10:46

Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/53 [^]
(0170673)
hgbot (developer)
2024-10-21 10:47

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1401 [^]
(0170677)
hgbot (developer)
2024-10-21 10:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/dbsm [^]
Changeset: 7f745bdbdfae131ca3c48955fc2c987ced66b197
Author: Augusto Mauch <a.mauch@orisha.com>
Date: 21-10-2024 10:46:01
URL: https://gitlab.com/openbravo/product/dbsm/-/commit/7f745bdbdfae131ca3c48955fc2c987ced66b197 [^]

Fixes ISSUE-56838: Fixes errors related to storing oids in ints - 24Q4

---
M src/org/apache/ddlutils/platform/postgresql/PostgreSqlModelLoader.java
---
(0170678)
hgbot (developer)
2024-10-21 10:51

Merge request merged: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/53 [^]
(0170679)
hgbot (developer)
2024-10-21 10:51

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1401 [^]
(0170680)
hgbot (developer)
2024-10-21 10:51

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 1add13f75e45a39bbbd2d8de1ccc33541e9cdf96
Author: Augusto Mauch <a.mauch@orisha.com>
Date: 21-10-2024 10:46:37
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/1add13f75e45a39bbbd2d8de1ccc33541e9cdf96 [^]

Fixes ISSUE-56838: Fixes errors related to storing oids in ints - 24Q4

---
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 => PR24Q4
2024-10-21 10:46 hgbot Note Added: 0170672
2024-10-21 10:47 hgbot Note Added: 0170673
2024-10-21 10:51 hgbot Resolution open => fixed
2024-10-21 10:51 hgbot Status scheduled => closed
2024-10-21 10:51 hgbot Note Added: 0170677
2024-10-21 10:51 hgbot Note Added: 0170678
2024-10-21 10:51 hgbot Note Added: 0170679
2024-10-21 10:51 hgbot Fixed in Version => PR24Q4
2024-10-21 10:51 hgbot Note Added: 0170680


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker