[ https://issues.apache.org/jira/browse/WICKET-762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-762. --------------------------------------- Resolution: Fixed Fix Version/s: 1.3.0-beta3 Assignee: Juergen Donnerstag now unsetting the Session in Application.internalDestroy() svn: 558266 > Resource cleanup in WicketTester > -------------------------------- > > Key: WICKET-762 > URL: https://issues.apache.org/jira/browse/WICKET-762 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.0-beta2 > Environment: Eclipse 3.3 > Reporter: Maurice Marrink > Assignee: Juergen Donnerstag > Priority: Minor > Fix For: 1.3.0-beta3 > > > I just noticed that running the following minimal junittest fails. > WicketTester mock=new WicketTester(); > mock.setupRequestAndResponse(); > mock.processRequestCycle(); > mock.destroy(); > assertNull(Session.get()); //actually should throw > IllegalStateException but .... > I would expect the threadlocal Session to be gone after the request > had been processed but it is even available after the application has > been destroyed. > Or am i missing something? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.