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

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Tue Apr 21 09:59:22 EDT 2009


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

Mikhail Vitenkov closed RF-6520.
--------------------------------

    Assignee: Nick Belaevski  (was: Tsikhon Kuprevich)


Verified at 3.3.1.BETA5

> 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: Nick Belaevski
>             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