maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arne Degenring (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MRM-617) Reporting does not work due to bug in client-side JavaScript validation
Date Tue, 04 Dec 2007 12:25:57 GMT
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

        

Mime
View raw message