fileUpload: after "choose file" operation canceling under Chrome - empty file 
is added to component list.
---------------------------------------------------------------------------------------------------------

                 Key: RF-6618
                 URL: https://jira.jboss.org/jira/browse/RF-6618
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.1
         Environment: Chrome 1.0.154.43(3.3.1.BETA1)
            Reporter: Mikhail Vitenkov
            Assignee: Nick Belaevski


#1. Add rich:fileUpload on the page:
<rich:fileUpload id="fileUploadID"
                uploadData="#{fileUpload.data}"
                acceptedTypes="*"               
                listHeight="#{fileUpload.listHeight}"
                listWidth="#{fileUpload.listWidth}"             
                fileUploadListener="#{fileUpload.fileUploadListener}">
                <f:facet name="label">
                        <h:outputText value="{_KB}KB from {KB}KB uploaded :[ 
{mm}:{ss} ]"></h:outputText>
                </f:facet>
                <f:facet name="header">
                        <h:outputText value="some text"></h:outputText>
                </f:facet>
        </rich:fileUpload>
#2. Navigate to the page under Google Chrome.
#3. Click "Add" control. - "choose file(s)" modal dialog should appear.
#4. Click "Cancel" on modal dialog.
#5. Verify component list content -error#1
#6. Click "Upload" component control.
#7. Verify uploading info. - error#2

Actual behavior:
error#1: empty file was added to component list;
error#2: Done label was appeared after uploading process. There is no transfer 
error message.

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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to