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

Brian Leathem (JIRA) jira-events at lists.jboss.org
Wed Aug 10 18:14:46 EDT 2011


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

Brian Leathem updated RF-10849:
-------------------------------

    Priority: Trivial  (was: Critical)


> 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: Trivial
>             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