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

Martin Grigorov resolved WICKET-5425.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0
                   6.13.0

There was no need of creating a new MockHttpServletRequest.
It is enough to set the calculated url to the request scheduled to be used for 
the next request cycle.

> WicketTester doesn't preserve the request cookies when #executeListener() is 
> used
> ---------------------------------------------------------------------------------
>
>                 Key: WICKET-5425
>                 URL: https://issues.apache.org/jira/browse/WICKET-5425
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.12.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.13.0, 7.0.0
>
>
> org.apache.wicket.util.tester.BaseWicketTester#executeListener(org.apache.wicket.Component,
>  org.apache.wicket.RequestListenerInterface) creates a new new 
> MockHttpServletRequest but doesn't do the cookie management as in 
> org.apache.wicket.util.tester.BaseWicketTester#setupNextRequestCycle() (the 
> only other place where a new MockHttpServletRequest is created).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to