Fast multiple clicks cause page expiration
------------------------------------------
Key: WICKET-683
URL: https://issues.apache.org/jira/browse/WICKET-683
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.2.6
Environment: linux 2.6.20, firefox 2.0.4, dual core, sun jdk6
Reporter: Ingram Chen
It has been found multiple clicks may cause page expiration. there are known
two ways to reproduce such problem:
First:
(1) make a link that require 5 seconds to process.
(2) quick click that link >3 times, after 5 seconds, go to page B
(3) do any thing on page B cause expire.
Mulitple clicks is quite normal under slow network. The user may click link
several times because web site is not responsive.
attachement quickstart-click3times.tar.gz is quickstart to reproduce this
problem.
(note LeastRecentlyAccessedEvictionStrategy(100) up to 100 access to eliminate
eviction issues)
2nd:
step 1: link to homepage
url is http://localhost:8081/quickstart/app
step 2: "double click" link on homepage, go to 2nd instance of page B
url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:2::
(double click create two instances of page B)
step 3: use browser back button go back to first instance of page B
url becomes
http://localhost:8081/quickstart/app/?wicket:interface=:1 ::
step 4: do anything on first instance of page B will cause expiration.
Ideally 1st instance of page B should in pageMap but it seems got lost.
see attachement quickstart-2clickback.tar.gz
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.