You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Vladimir Kovalyuk (JIRA)" <ji...@apache.org> on 2010/02/07 17:28:28 UTC

[jira] Commented: (WICKET-2726) CLONE -Ajax multipart broken on mounted pages

    [ https://issues.apache.org/jira/browse/WICKET-2726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830725#action_12830725 ] 

Vladimir Kovalyuk commented on WICKET-2726:
-------------------------------------------

I propose the following patch:

UploadWebRequest.java:

    @Override

    public WebRequest newMultipartWebRequest(Bytes maxsize) {

        try {

            MultipartRequest multipartRequest = new MultipartRequest(req, maxsize);

            multipartRequest.setRequestParameters(getRequestParameters()); // the difference is here

            return multipartRequest;

        } catch (FileUploadException e) {

            throw new WicketRuntimeException(e);

        }

  } 


> CLONE -Ajax multipart broken on mounted pages
> ---------------------------------------------
>
>                 Key: WICKET-2726
>                 URL: https://issues.apache.org/jira/browse/WICKET-2726
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.6
>            Reporter: Vladimir Kovalyuk
>            Assignee: Igor Vaynberg
>             Fix For: 1.4.7, 1.5-M1
>
>         Attachments: sample.zip
>
>
> The page is mounted with MixedParamHybridUrlCodingStrategy.
> It contains multipart form with FileUploadField and UploadProgressBar components.
> It also contains AjaxFallbackButton.
> When pressing the button we can see 404 response in ajax debug panel.

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