Hi
There was some changes on state saving algorithm. All tests done passed, but
the previous algorithm was preserved too. It was found a bug on 2.0.6, so
the following is valid 2.0.7 / 2.1.1 . Add in your web.xml file the
following:
<context-param>
<param-name>org.apache.myfaces.HANDLE_STATE_CACHING_MECHANICS</param-name>
<param-value>false</param-value>
</context-param>
and then on faces-config.xml
<state-manager>org.apache.myfaces.application.jsp.JspStateManagerImpl</state-manager>
This goes inside <application> section. In this way the previous algorithm
is used instead. If that works let us know, to try to reproduce it and fix
it on future MyFaces versions.
regards,
Leonardo
2011/6/25 Hamed Iravanchi <[email protected]>
> Hi,
>
> I'm getting ViewExpiredSession by clicking on any button in my pages after
> upgrading MyFaces 2.0.5 to 2.0.6.
> My pages have multiple forms, any button in any of them raises the same
> error.
>
> I'm using facelets version 1.1.6.
>
> I see some changes in the state caching on the change list of 2.0.6, and
> I'm
> not sure is it something that I'm doing wrong (and it worked by chance in
> 2.0.5) or there's some bug in 2.0.6.
> (I tried 2.0.7, and it has the same problem.)
>
> -Hamed
>