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

FileUploadField fails when upload size exceeds setMaxSize()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5-RC5.1
    • Fix Version/s: None
    • Component/s: wicket, wicket-examples
    • Labels:
      None
    • 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

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: