You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Major Peter (JIRA)" <ji...@apache.org> on 2010/12/01 15:42:11 UTC
[jira] Created: (WICKET-3212) WicketTester can't create new
sessions
WicketTester can't create new sessions
--------------------------------------
Key: WICKET-3212
URL: https://issues.apache.org/jira/browse/WICKET-3212
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5-M3
Reporter: Major Peter
It looks like currently there is no way to create a new session (e.g. execute Application#newSession through WicketTester).
My test case would be something like this:
* create a session
* set a configuration option with a form
* invalidate session
* create new session
* assert that the session#getStyle now returns something else
In wicket-1.4 this was possible with WicketTester#createRequestCycle, but that is gone now.
Workaround: create a new WicketTester, which will force to create a new session.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-3212) WicketTester can't create new
sessions
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3212.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
Fixed with r1041454
> WicketTester can't create new sessions
> --------------------------------------
>
> Key: WICKET-3212
> URL: https://issues.apache.org/jira/browse/WICKET-3212
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Major Peter
> Assignee: Martin Grigorov
> Fix For: 1.5-M4
>
>
> It looks like currently there is no way to create a new session (e.g. execute Application#newSession through WicketTester).
> My test case would be something like this:
> * create a session
> * set a configuration option with a form
> * invalidate session
> * create new session
> * assert that the session#getStyle now returns something else
> In wicket-1.4 this was possible with WicketTester#createRequestCycle, but that is gone now.
> Workaround: create a new WicketTester, which will force to create a new session.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (WICKET-3212) WicketTester can't create new
sessions
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov reassigned WICKET-3212:
---------------------------------------
Assignee: Martin Grigorov
> WicketTester can't create new sessions
> --------------------------------------
>
> Key: WICKET-3212
> URL: https://issues.apache.org/jira/browse/WICKET-3212
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5-M3
> Reporter: Major Peter
> Assignee: Martin Grigorov
>
> It looks like currently there is no way to create a new session (e.g. execute Application#newSession through WicketTester).
> My test case would be something like this:
> * create a session
> * set a configuration option with a form
> * invalidate session
> * create new session
> * assert that the session#getStyle now returns something else
> In wicket-1.4 this was possible with WicketTester#createRequestCycle, but that is gone now.
> Workaround: create a new WicketTester, which will force to create a new session.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.