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

Empty File Upload field breaks validation of other fields in WicketTester.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4-RC1
    • 1.4-RC3
    • wicket
    • None
    • Windows XP SP3, Eclipse IDE, Wicket 1.4-rc1.

    Description

      Submitting form with empty FileUpload -field break validations of other fields in WicketTester:

      • TextField mandatority (field.setRequired(true)).
      • TextField input length validation (field.add(StringValidator(lengthBetween(...)))).
      • DropDownChoice validation does not "see" selection.

      If File Upload -field is filled, then validations above work.
      Form submits manually without a problem in web browser.

      Attachments

        1. Wicket-Quickstart.zip
          11 kB
          Juegen Donnerstag
        2. Wicket-Quickstart-Update.zip
          8 kB
          Kari Maja

        Issue Links

          Activity

            People

              jdonnerstag Juegen Donnerstag
              kmaja Kari Maja
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: