-
Bug
-
Resolution: Not a bug
-
Medium
-
None
-
4.1, 4.1.1
-
4.01
-
JIRA will throw System Error if 'Hours per day' is set with a value than contain decimal when user want to generate the Time Sheet Report.
Here are the steps to reproduce the problem:
- set the Hours per day via Administration > Global Settings > Time Tracking to 7.5.
- create a project
- go to the Projects > select the newly created project > click on Reports > select Time Sheet Report
- select any Start Date,End Date,User and click on the "Next" button.
- JIRA will throw System Error which contain the following Stack Trace:
java.lang.NumberFormatException: For input string: "7.5" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:458) at java.lang.Integer.<init>(Integer.java:660) at com.fdu.jira.util.TextUtil.<init>(TextUtil.java:43) at com.fdu.jira.plugin.report.timesheet.TimeSheet.generateReport(TimeSheet.java:454) at com.fdu.jira.plugin.report.timesheet.TimeSheet.generateReportHtml(TimeSheet.java:472) ...
- is related to
-
JRASERVER-22190 NumberFormatException when requesting JiraSoapService.getConfiguration(token) if eg Hours per day is set to 7.5
- Closed
- relates to
-
JRASERVER-2176 Time Tracking Config - Working hours with fractions (ie 7h 30m)
- Closed