You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/03/12 18:54:27 UTC
[jira] Resolved: (WICKET-2779) Submit a nested form via ajax to
upload a file inside modal window does not work on IE.
[ https://issues.apache.org/jira/browse/WICKET-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2779.
-----------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M1
Assignee: Igor Vaynberg
> Submit a nested form via ajax to upload a file inside modal window does not work on IE.
> ---------------------------------------------------------------------------------------
>
> Key: WICKET-2779
> URL: https://issues.apache.org/jira/browse/WICKET-2779
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.4
> Environment: Windows XP, IE7, IE8
> Reporter: Michał Letyński
> Assignee: Igor Vaynberg
> Fix For: 1.4.8, 1.5-M1
>
> Attachments: modalproject.zip
>
>
> I'm trying to submit a nested form via ajax to upload a file inside modal window.
> I get an exception:
> java.lang.IllegalStateException: ServletRequest does not contain multipart content. One possible solution is to explicitly call Form.setMultipart(true), Wicket tries its best to auto-detect multipart forms but there are certain situation where it cannot.
> at org.apache.wicket.protocol.http.servlet.MultipartServletWebRequest.<init>(MultipartServletWebRequest.java:113)
> After debug:
> FileUploadBase.isMultipartContent get false because
> if (contentType.toLowerCase().startsWith(MULTIPART)) - contentType = application/x-www-form-urlencoded
> It only occurs on IE browser (both IE7 and IE8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.