Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.1.0
-
None
-
None
-
None
-
Java 6, Tomcat 6 and 7, latest SNAPSHOT of MyFaces 2.1.0
Description
I have an usecase with more than one form on a page and heavy use of ajax.
After several ajax requests within one of the forms and after that, another ajax request in one of the other forms, a ViewExpiredException occurs.
A simplified testcase to reproduce this issue is attached.
Steps to reproduce:
1. http://localhost:8080/jsf2testcase/test.jsf
2. click minimum 21 times (one more time than the default value for numberOfViewsInSession) one of the first two buttons
3. click the third button in the other from
4. ViewExpiredException occurs
If you only use the two buttons within the first form, the ViewExpiredException never occurs, so i think this is a bug.
To use only one form is no option for my usecase and to increase the number of views in session is also no good solution for this, because this only delays the problem.