You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (Jira)" <ji...@apache.org> on 2021/07/29 21:17:00 UTC
[jira] [Comment Edited] (WICKET-6910) StalePageException not thrown
[ https://issues.apache.org/jira/browse/WICKET-6910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390159#comment-17390159 ]
Sven Meier edited comment on WICKET-6910 at 7/29/21, 9:16 PM:
--------------------------------------------------------------
It seems to me WICKET-6908 is coming into play here: the logData creation fails repeatedly with the StalePageException.
But are you sure your test is correct? With tester.setExposeExceptions(false) the StalePageException isn't thrown - which your test seems to expect - but the page is just rendered again like in a non-test scenario.
This works as expected and exactly like when I try it with 8.9.0
was (Author: svenmeier):
It seems to me WICKET-6908 is coming into play here: the logData creation fails repeatedly with the StalePageException.
But are you sure your test is correct? With tester.setExposeExceptions(false) the StalePageException isn't thrown - which your test seems to expect - but the page is just rendered again like in a non-test scenario.
This works as expected.
> StalePageException not thrown
> -----------------------------
>
> Key: WICKET-6910
> URL: https://issues.apache.org/jira/browse/WICKET-6910
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 8.10.0
> Reporter: Dirk Forchel
> Assignee: Sven Meier
> Priority: Major
> Attachments: myproject.zip
>
>
> In our wicket application we have a unit test that simulates a StalePageException for a RequestCycleListener. This test no longer works as expected since version 8.10.0. Prior to this version the test was working.
> This test assumes that the StalePageException is thrown during the rendering phase, but this is no longer the case. I'm not sure if this is a bug or if the test setup has become wrong.
> I'm also not sure if this issue is related to WICKET-6869.
> Attached you will find a quick start with the StalePageExceptionTest.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)