FileUploadField fails when upload size exceeds setMaxSize()
-----------------------------------------------------------

                 Key: WICKET-3923
                 URL: https://issues.apache.org/jira/browse/WICKET-3923
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core, wicket-examples
    Affects Versions: 1.5-RC5.1
         Environment: firefox 5.0/safari 5.0.5 on mac os  x 10.6.8, ie 9.0 on 
vista and wicket-examples-1.5-RC5.1.war deployed on jetty
            Reporter: Greg Johnson


on attempting to upload a file whose size exceeds Form.setMaxSize(), using 
FileUploadField with or without ProgressBar, upload fails with "Connection 
Reset".

to replicate: in org.apache.wicket.examples.upload.UploadPage.java change 
setMaxSize(Bytes.kilobytes(100)); to setMaxSize(Bytes.kilobytes(2000));, deploy 
and attempt to upoad a 5MB file.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to