[
https://issues.apache.org/jira/browse/WICKET-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4289.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.0.0
1.5.4
Now the HttpServletRequest is created just once per request cycle and all
non-expired cookies are transferred from the last response to the new request.
> Improve WicketTester handling of cookies
> -----------------------------------------
>
> Key: WICKET-4289
> URL: https://issues.apache.org/jira/browse/WICKET-4289
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.3
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 1.5.4, 6.0.0
>
>
> Several of the startXyz() methods recreate the http servlet request and thus
> it is not easy to set cookies with wickettester which will be sent to the
> server side.
> Such methods are:
> -
> org.apache.wicket.util.tester.BaseWicketTester.startResourceReference(ResourceReference,
> PageParameters)
> - org.apache.wicket.util.tester.BaseWicketTester.executeListener(Component,
> RequestListenerInterface)
> - org.apache.wicket.util.tester.BaseWicketTester.startPage(IPageProvider)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira