Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Not A Problem
-
8.11.0
-
None
-
None
Description
Probably issue WICKET-6848 introduced the following issue. If there is a code which does session invalidation first and then starts testing of a component: the last one will fail with something like org.apache.wicket.protocol.http.PageExpiredException: Page with id '0' has expired.
Simple example:
tester.getSession().invalidate(); tester.startComponentInPage(new AnyPanel("panel"));
But, at the same time starting pages (by class or instance) do not have this negative side effect.
P.S. Doing `invalidateNow()` will help to solve this particular case, but in our case exactly invalidate() invoked as part of signout - so not a part of actual test case code.
P.P.S Wicket 8.10.0 didn't have this problem,
Attachments
Issue Links
- is caused by
-
WICKET-6847 async page storing fails with flush before detach without session
- Resolved