[richfaces-issues] [JBoss JIRA] Updated: (RF-10849) RichFaces client-side validation: i variable is implicitly declared

Jay Balunas (JIRA) jira-events at lists.jboss.org
Thu Aug 4 17:59:34 EDT 2011


     [ https://issues.jboss.org/browse/RF-10849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-10849:
-----------------------------

    Fix Version/s: 4.1.0.Milestone2
                       (was: 4.1.0.Final)


This is critical, but potentially easy to fix

> RichFaces client-side validation: i variable is implicitly declared
> -------------------------------------------------------------------
>
>                 Key: RF-10849
>                 URL: https://issues.jboss.org/browse/RF-10849
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: compatibility, component-validators
>    Affects Versions: 4.0.0.Final
>            Reporter: Ilya Shaikovsky
>            Priority: Critical
>             Fix For: 4.1.0.Milestone2
>
>
> richfaces-csv.js contains variable i declared as global, see method validate(), 174 line, for (i=0;i<validators.length;i++). It should be a local variale.
> potentially dangerous in case one more js with such mistake will be included to page.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list