[
https://issues.apache.org/jira/browse/WICKET-6208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-6208.
-------------------------------------
Resolution: Won't Fix
Assignee: (was: Emond Papegaaij)
The Wicket team decided to discontinue the development of the integration with
Atmosphere and it has been dropped in Wicket 8.x with WICKET-6305.
Atmosphere team don't want to fix this bug due to backward compatibility
concerns.
Closing as "Won't fix"
> setMultiPart causes Not Found-Error when performing AjaxRefresh on Form
> -----------------------------------------------------------------------
>
> Key: WICKET-6208
> URL: https://issues.apache.org/jira/browse/WICKET-6208
> Project: Wicket
> Issue Type: Bug
> Components: wicket, wicket-atmosphere
> Affects Versions: 7.3.0
> Reporter: Johannes Esseling
> Priority: Minor
> Attachments: quickstart-multipart-form.zip
>
>
> Hello,
> I am trying to migrate to Wicket 7 and also use Wicket-Atmosphere.
> Everything seemed to work fine until I encountered a Form where I enabled
> "setMultiPart".
> I have a few FormComponents and a few Uploads in that form. The form also
> contains an AjaxSubmitLink. I do this to refresh all potential FeedBackPanels
> in that form.
> {code}
> @Override
> protected void onError(AjaxRequestTarget target, Form<?> form) {
> target.add(form);
> }
> {code}
> Now to the problem:
> I have mapped the Page containing the form in my quickstart to
> "/home/staying/disappearing".
> When I submit the form without entering something in a FormComponent in the
> Form the "onError" gets called and the form refreshed via Ajax.
> I noticed something strange in the Header-Contribution of the Ajax-Response:
> {code}
> <header-contribution><![CDATA[<head
> xmlns:wicket="http://wicket.apache.org"><script type="text/javascript"
> src="./wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.12.3-ver-1468849186000.js"></script>
> ...
> </head>]]></header-contribution>
> {code}
> Shouldn't the path to the resource be "../../wicket/resource/....."?
> Following the AjaxResponse is the evaluation of the resources:
> {code}
> GET
> http://localhost:8080/home/staying/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.12.3-ver-1468849186000.js
>
> {code}
> This causes the Not Found - Error.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)