[ 
https://issues.apache.org/jira/browse/WICKET-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavius updated WICKET-2521:
----------------------------

    Attachment: Ajax404MultiPart.zip

> Ajax Target gives 404 on MultiPart form
> ---------------------------------------
>
>                 Key: WICKET-2521
>                 URL: https://issues.apache.org/jira/browse/WICKET-2521
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1, 1.4.2
>            Reporter: Flavius
>         Attachments: Ajax404MultiPart.zip
>
>
> Sometimes when a MultiFileUploadField is submitted via Ajax, a 404 error 
> results in resulting ajax call when components are added to the 
> AjaxRequestTarget.
> I suspect that the cause of this that the form is set to multi part.  If the 
> MultiFileUploadField is removed but setMultiPart(true) is set, the same error 
> occurs.
> However, with no MultiFileUploadField and multiPart set to false, the error 
> does not occur.
> I've attached a quickstart to this to demonstrate this issue.
> Just unzip this and run mvn jetty:run.  Then navigate to 
> http://localhost:8080/Ajax404MultiPart
> If you click "Add Attachments" the container will be set to visible.  Click 
> the submit button and
> the error occurs (you can see it in the Wicket Ajax Debug window).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to