You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Makundi (JIRA)" <ji...@apache.org> on 2013/11/20 05:57:27 UTC
[jira] [Updated] (WICKET-5419) The Form gives un-informative
exception when multipart is set to true but multipart is not found, this
patch improves exception details
[ https://issues.apache.org/jira/browse/WICKET-5419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Makundi updated WICKET-5419:
-----------------------------------
Attachment: form-patch.txt
Patch to fix it
> The Form gives un-informative exception when multipart is set to true but multipart is not found, this patch improves exception details
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-5419
> URL: https://issues.apache.org/jira/browse/WICKET-5419
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.4.22
> Reporter: Martin Makundi
> Labels: patch
> Attachments: form-patch.txt
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> Typically MultipartServletWebRequest will throw IllegalStateException
> when is trying to handle MultiPart mode when the actual submit is not
> multipart. Usually this happens when you have subpanels that are
> added with ajax that set multiPart(true) without repainting the
> parent form -> will result in non multipart submit. Without this
> addition here it is very difficult to locate the page that causes the
> errors.
> This patch will add details about the form to the IllegalStateException.
--
This message was sent by Atlassian JIRA
(v6.1#6144)