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:55:23 UTC

[jira] [Created] (WICKET-5419) The Form gives un-informative exception when multipart is set to true but multipart is not found, this patch improves exception details

Martin Makundi created WICKET-5419:
--------------------------------------

             Summary: 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


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)