Reporting does not work due to bug in client-side JavaScript validation
-----------------------------------------------------------------------
Key: MRM-617
URL: http://jira.codehaus.org/browse/MRM-617
Project: Archiva
Issue Type: Bug
Components: reporting
Affects Versions: 1.0
Environment: Win32
Firefox 2.0.0.9 or MSIE 6.0
German system
Reporter: Arne Degenring
No matter what "Row Count" I choose in Manage | Reports, I get the error
message "Row count must be between 10 and 5000.". After disabling JavaScript,
which disables the client-side validation, it works.
I tracked it down to the following line in the JavaScript function
validateForm_generateReport() that is included into the pickReport page
508 if (parseInt(field.value) <
509 10 ||
510 parseInt(field.value) >
511 5.000) {
The problem is the decimal point in the number "5.000". At least on my system,
this is interpreted as "5", not "5000".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira