Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
How to reproduce
- Setup your Jira project with very large issuenums. Big enough to overpass the Integer range
- Create a Test Plan
- Create a Test issue and associate it with the previous Test Plan
- Associate the Test issue to a Requirement issue. Now the Requirement issue is being covered by the Test issue
- In the Test Plan, Create a Test Execution for the Test issue
If you check the logs you will see the below errors:
Error parsing SQL query org.postgresql.util.PSQLException: Bad value for type int : 99900007527 at org.postgresql.jdbc.PgResultSet.toInt(PgResultSet.java:2826) at org.postgresql.jdbc.PgResultSet.getInt(PgResultSet.java:2047) at org.postgresql.jdbc.PgResultSet.getInt(PgResultSet.java:2482) at org.apache.commons.dbcp2.DelegatingResultSet.getInt(DelegatingResultSet.java:283) at org.apache.commons.dbcp2.DelegatingResultSet.getInt(DelegatingResultSet.java:283) at com.xpandit.raven.util.MutualTestPlansUtil.lambda$getKeys$9(MutualTestPlansUtil.java:1022)