Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
None
-
Javascript
Description
In 13.3.2 the spec says: >>All Ajax requests must be put into a client side request queue before they are sent to the server to ensure Ajax requests are processed in the order they are sent.<<
So, if you trigger a queue of n Ajax requests each of them would include the same ViewState that was collected at the time when the request was queued. But with each response the view state will have changed, making the former collected view state obsolete! With javax.faces.STATE_SAVING_METHOD==server the old view state may even be gone if the queue size exceeds the number of view states stored in the session.