[richfaces-issues] [JBoss JIRA] (RF-12366) Uploading 2 files despite rich:fileUpload:maxFilesQuantity="1"

Thomas Jodes (JIRA) jira-events at lists.jboss.org
Tue Jan 29 09:29:47 EST 2013


    [ https://issues.jboss.org/browse/RF-12366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751060#comment-12751060 ] 

Thomas Jodes commented on RF-12366:
-----------------------------------

In my case I additionally check in the upload listener callback method how many files the server has got.
If size is exceeded, I do nothing but enqueue a faces error message that can be shown in the browser via rich:message for="..." ajaxRendered="true" />.
                
> Uploading 2 files despite rich:fileUpload:maxFilesQuantity="1" 
> ---------------------------------------------------------------
>
>                 Key: RF-12366
>                 URL: https://issues.jboss.org/browse/RF-12366
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-input
>    Affects Versions: 4.2.2.Final
>         Environment: JDK1.6,
> JBoss 6.0.Final
> richfaces 4.2.2.Final
> seam 3.1
> Chrome
>            Reporter: Artur Mioduszewski
>             Fix For: 5-Tracking
>
>
> Button 'Add' does not disable after starting file uploading.
> In case: maxFilesQuantity="1" in rich:fileUpload I am able to upload more than 1 file using below scenario:
> I start to upload large file lala.wmv. During uploading of lala.wmv file, button "Add" is not blocked, so I am able to select second file to upload.
> Finally 2 files are uploaded despite maxFilesQuantity="1".   

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list