You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Michał Letyński (JIRA)" <ji...@apache.org> on 2010/03/12 13:05:27 UTC
[jira] Created: (WICKET-2779) Submit a nested form via ajax to
upload a file inside modal window does not work on IE.
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
Fix For: 1.4.8
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.
[jira] Commented: (WICKET-2779) Submit a nested form via ajax to
upload a file inside modal window does not work on IE.
Posted by "Michał Letyński (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844473#action_12844473 ]
Michał Letyński commented on WICKET-2779:
-----------------------------------------
I tested it on wicket versions from 1.4.4 to 1.4.7 - all those versions have this bug.
> 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
> Fix For: 1.4.8
>
> 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.
[jira] Resolved: (WICKET-2779) Submit a nested form via ajax to
upload a file inside modal window does not work on IE.
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (WICKET-2779) Submit a nested form via ajax to
upload a file inside modal window does not work on IE.
Posted by "Michał Letyński (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michał Letyński updated WICKET-2779:
------------------------------------
Attachment: modalproject.zip
quickstart attached
> 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
> Fix For: 1.4.8
>
> 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.