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 2009/10/25 08:13:59 UTC

[jira] Resolved: (WICKET-2521) Ajax Target gives 404 on MultiPart form

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

Igor Vaynberg resolved WICKET-2521.
-----------------------------------

    Resolution: Duplicate
      Assignee: Igor Vaynberg

> 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
>            Assignee: Igor Vaynberg
>         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.