You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2007/12/12 09:42:57 UTC
[jira] Updated: (MRM-617) Reporting does not work due to bug in
client-side JavaScript validation
[ http://jira.codehaus.org/browse/MRM-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maria Odea Ching updated MRM-617:
---------------------------------
Fix Version/s: 1.1
> 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
> Fix For: 1.1
>
>
> 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