[ https://issues.apache.org/jira/browse/MYFACES-3159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Werner Punz resolved MYFACES-3159. ---------------------------------- Resolution: Invalid This is unfortunatly a spec issue which I cannot resolve, multiple workarounds are described as comments. Sorry for not being able to fix this. If I could I would have done it a long time ago. > ViewExpiredException occurs if you heavy use ajax within more than one form > --------------------------------------------------------------------------- > > Key: MYFACES-3159 > URL: https://issues.apache.org/jira/browse/MYFACES-3159 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.1.0 > Environment: Java 6, Tomcat 6 and 7, latest SNAPSHOT of MyFaces 2.1.0 > Reporter: Rene O > Attachments: jsf2testcase-webapp-0.0.1-SNAPSHOT.war > > > 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. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira