[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.

Nathan Collette (JIRA) jira-events at lists.jboss.org
Mon Mar 16 12:50:22 EDT 2009


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

Nathan Collette updated RF-6520:
--------------------------------

    Attachment: clearExampleOfTheProblem.txt


This file shows in code (and explanation) the problem. 

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