While migrating form Wicket 6.6.0 to the latest version we are running into
an issue with a change made to AbstractBookmarkableMapper.processListener
(changed in 6.7.0) that removes PageParameters. This causes pages that
expired to be recreated without the parameters of the expired page.

In our application we have pages (stateful, bookmarkable) that render
differently based on pageParameters. Up to now we were able to create a
fresh instance of these pages after session expiry but with the latest
change all parameters get dropped and the page no longer renders the way it
needs to.

I found some comments on https://issues.apache.org/jira/browse/WICKET-5539
from another user having similar issues.

Like Sebastian Gooren said in his comment I was also under the impression
that  IPageSettings#getRecreateMountedPagesAfterExpiry() should include the
PageParameters.

Would it be possible to change the code to only remove the parameters
if recreateMountedPagesAfterExpiry
is set to false? Or add an additional configuration for the handling of page
parameters?

Florian

Reply via email to