Bug #24120 | Unable to Schedule any Rule for 8 or 9 minute Values(Others Work) | ||
---|---|---|---|
Submitted: | 9 Nov 2006 0:29 | Modified: | 12 Nov 2006 22:01 |
Reporter: | Punita Srivastava | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Web | Severity: | S2 (Serious) |
Version: | 0.7.28 | OS: | Linux (RHEL4) |
Assigned to: | Joshua Ganderson | CPU Architecture: | Any |
[9 Nov 2006 0:29]
Punita Srivastava
[9 Nov 2006 0:47]
Joshua Ganderson
Issue is that the parseInt function in javascript is taking it's cue off of the first element in the string passed to it. In this case, the prepended zeros in '08' and '09' from the dropdown are telling the javascript parser to evaluate in octal and is returning a value of 0. If you explicitly tell the function to evaluate in base 10 this is not an issue. (ex parseInt('09',10)) Patch in review.
[9 Nov 2006 15:57]
Joshua Ganderson
committed
[12 Nov 2006 22:01]
Carsten Segieth
tested OK with 0.7.34