You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gabriel Landon (JIRA)" <ji...@apache.org> on 2014/08/22 20:16:12 UTC

[jira] [Commented] (WICKET-3555) hasError() returns false on nested form with FileUploadField and defined max file upload size

    [ https://issues.apache.org/jira/browse/WICKET-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107226#comment-14107226 ] 

Gabriel Landon commented on WICKET-3555:
----------------------------------------

I'm having the same problem with FileUpload in a ModalWindow with wicket 1.4.23.
I've used the attached quickstart it does reproduce the problem. Using the quickstart with wicket 6.16 works perfectly.
Is there a workaroud to this problem?

> hasError() returns false on nested form with FileUploadField and defined max file upload size
> ---------------------------------------------------------------------------------------------
>
>                 Key: WICKET-3555
>                 URL: https://issues.apache.org/jira/browse/WICKET-3555
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.16
>            Reporter: Alexander Morozov
>            Assignee: Igor Vaynberg
>         Attachments: modalproject2.zip
>
>
> The nested form have FileUploadField added and defined setMaxSize is set to 100K. In case of submitting the form thru Ajax file more than 100K, hasError() on the nested form return false. But I expect here 'true' - because of setMaxSize constraint violation.
> See also http://apache-wicket.1842946.n4.nabble.com/Nested-Forms-and-Multipart-Fileupload-Issue-td1844365.html



--
This message was sent by Atlassian JIRA
(v6.2#6252)