[
https://issues.apache.org/jira/browse/WICKET-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662402#action_12662402
]
Carsten Behring commented on WICKET-2015:
-----------------------------------------
I have the same problem in version 1.3.5 as well.
I debugged it once, and found the root cause somewhere deep in Wicket.
My work-around was to always set a value in the file upload field with the form
tester.
> Empty File Upload field breaks validation of other fields in WicketTester.
> --------------------------------------------------------------------------
>
> Key: WICKET-2015
> URL: https://issues.apache.org/jira/browse/WICKET-2015
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC1
> Environment: Windows XP SP3, Eclipse IDE, Wicket 1.4-rc1.
> Reporter: Kari Maja
> Attachments: WicketQuickstart.zip
>
>
> Submitting form with empty File Upload -field malfunctions in WicketTester in
> following way:
> - Invalid input on TextField does not trigger fields
> .setRequired(true)-validation.
> - Valid input on DropDownChoise is not accepted.
> If File Upload -field is filled, then validations function fine when
> submitting form in WicketTester.
> Submitting form normally through web browser does not trigger this bug. It is
> shown in WicketTester only.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.