[
https://issues.apache.org/jira/browse/WICKET-2015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667202#action_12667202
]
Juergen Donnerstag commented on WICKET-2015:
--------------------------------------------
You are completly right. But look, you reported a major bug and what is well
appreciated by every core developer, you provided test cases. Unfortunately
some of your test cases were wrong. Correcting these test cases proved that
wicket does what it is supposed to do. In order to improve our test coverage I
added your test cases to the core test classes. Please correct me if I'm wrong,
but until now we do not have a single failing test case for FileUpload which
makes me think why it is time worthwile spend on FileUpload if there are other
bugs waiting to be fixed.
> 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: Wicket-Quickstart-Update.zip, Wicket-Quickstart.zip
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.