Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.13.5
-
None
-
3.13
-
Description
Steps to reproduce:
- Create a new CVS module with a timeout of 3,600,000 seconds (3600000)
- View the resultant details on the list of CVS Modules: module displays timeout as "-694967 seconds"
- Go back to edit and the same value is displayed in the input box
- View the record in the database and it is being stored as -694967296
There's a whole bunch of messy conversion code in the CVS Modules. Integers multiplied by 1000 and then stored as Strings, only to be retrieved out as Integers again by dividing by 1000. This needs to be cleaned up, and Longs need to be used instead of Integers.