Description of problem: When user enters very large numbers, an error is thrown. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. $resource > Monitoring > Schedules 2. In Collection interval, enter the string "9999999999999999"; observe that it changes to "10000000000000000" 3. Add another 9 to the end, effectively changing it into "100000000000000020" 4. Add another 9 to the end, effectively changing it into "1000000000000000300" 5. Add one more 9, effectively changing it into "10000000000000002000", View results Actual results: Error message - Message Center : Globally uncaught exception Severity : Error Time : Thu 10 Feb 2011 10:20:43 PM EST Detail : java.lang.NumberFormatException:For input string: "10000000000000002000" Expected results: ...make sure the exception is caught, I guess. Additional info: This may happen in templates too, but I don't remember seeing it.
commit 4bfbfa4cb076532d26e25d452ab22fe061b6e9e8 can't enter anything higher than 10000000 without a validation error to pop up. no more exceptions show in the message center.
Verified against RHQ 4.0.0-SNAPSHOT build# f896da0. I get the error exclamation next to Collection Interval when I enter anything more than 10000000. Marking this bug as verified.
Bookkeeping - closing bug - fixed in recent release.