[
https://issues.apache.org/jira/browse/MYFACES-3574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399376#comment-13399376
]
Leonardo Uribe commented on MYFACES-3574:
-----------------------------------------
Could you be more specific about the lines that needs to be changed? I know the
file is:
http://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
and the code related are the functions fixViewStates and _setVSTForm /
_setVSTInnerForms , but I don't know the affected lines.
> Update of 'javax.faces.ViewState' input elements fails
> ------------------------------------------------------
>
> Key: MYFACES-3574
> URL: https://issues.apache.org/jira/browse/MYFACES-3574
> Project: MyFaces Core
> Issue Type: Bug
> Components: General
> Affects Versions: 2.1.7, 2.1.8
> Environment: Internet Explorer 7
> Reporter: Mircea Toma
>
> The issue resides in the JS code that is responsible for updating
> javax.faces.ViewState key in the hidden input elements.
> In IE7 during the second update the lookup for the 'javax.faces.ViewState'
> named input element fails. The element[name] syntax is used for the lookup
> which is known to fail for elements with complex names (such as
> 'javax.faces.ViewState').
> When the lookup fails to find the input element a second input element is
> created which will contain the new javax.faces.ViewState value. The next
> submit will send two 'javax.faces.ViewState' parameters but only the first
> one (the oldest) is read by the server state manager . This old key is not
> known to the server anymore and this causes a ViewExpired exception to be
> thrown on the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira