[richfaces-issues] [JBoss JIRA] Updated: (RF-6520) fileUpload ontyperejected only fires once, even though multiple attempts to upload the same bad file type are attempted.

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Tue Mar 17 19:22:35 EDT 2009


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

Nick Belaevski updated RF-6520:
-------------------------------

    Fix Version/s: 3.3.1
         Assignee: Pavel Yaschenko


> fileUpload ontyperejected only fires once, even though multiple attempts to upload the same bad file type are attempted.
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-6520
>                 URL: https://jira.jboss.org/jira/browse/RF-6520
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.2
>         Environment: Windows XP(SP2) Tomcat 6/Jetty 6 IE 7, Firefox 3
>            Reporter: Nathan Collette
>            Assignee: Pavel Yaschenko
>             Fix For: 3.3.1
>
>         Attachments: clearExampleOfTheProblem.txt
>
>
> When a file of incorrect type is chosen for fileUpload, the attribute ontyperejected="alert('wrong file type')" will give the user an alert.  However, if the user then attempts to consecutively upload the same file, they will not get the alert.   If the user tries to upload a different file of incorrect type, they will get the alert.  
> So the bug is that consecutive attempts to upload the same incorrect file type will not continue to cause the ontyperejected javascript method to fire.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list