[
http://jira.codehaus.org/browse/MRM-617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127694
]
Thomas Winkler commented on MRM-617:
------------------------------------
I have a similar problem on the report page.
The dot within the JavaScript gets interpreted like "x > 5" or "x < 10".
The generated JavaScript seems to be dependend on the language settings of the
used JVM.
Possible workaround:
Setting the JVM language propertie to en (e.g. Tomcat startup parameter
-Duser.language=en) is a possible workaround. This results in generating a
script, using commas, which seems to be interpreted correctly by JavaScript (
parseInt(file.value) > 5,000 ).
> 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