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

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Tue Apr 5 09:59:33 EDT 2011


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: component-validators
    Affects Versions: 4.0.0.Final
            Reporter: Ilya Shaikovsky


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