Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3923

FileUploadField fails when upload size exceeds setMaxSize()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5-RC5.1
    • None
    • wicket, wicket-examples
    • None
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gregjohnson Greg Johnson
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: