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

FormTester doesn't correctly submit a form when a FileUploadField was not set (which is not required)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-M3
    • 1.4-RC2
    • wicket
    • None
    • Windows XP PL SP 2, Java 1.6.0_10

    Description

      FormTester doesn't correctly submit a form when a FileUploadField was not set.
      This file is not required.

      So it is impossible to create a real test because I am forced to always set a File to check to whole form.

      There was discussion about this problem here: http://www.nabble.com/FormTester-and-FileUploadField-td18566869.html

      I will be very grateful if you can fix it
      Artur

      Attachments

        1. wicket-1931.patch
          5 kB
          Marco Rico-Gomez

        Activity

          People

            ivaynberg Igor Vaynberg
            a_wronski@gazeta.pl Artur Wronski
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: