[richfaces-issues] [JBoss JIRA] Commented: (RF-1460) AjaxStateManager: wrong order of states
Andrey Peristyy (JIRA)
jira-events at lists.jboss.org
Fri Nov 30 02:17:46 EST 2007
[ http://jira.jboss.com/jira/browse/RF-1460?page=comments#action_12389918 ]
Andrey Peristyy commented on RF-1460:
-------------------------------------
The problem in method AjaxStateManager#restoreStateFromSession line 292:
restoredState = (Object[]) logicalStates.get(logicalStates.firstKey());
As described in Apache Commons Collections documentation this must return state which most recently inserted but it returns first state instead.
http://commons.apache.org/collections/api-3.2/org/apache/commons/collections/map/AbstractLinkedMap.html#firstKey()
> AjaxStateManager: wrong order of states
> ---------------------------------------
>
> Key: RF-1460
> URL: http://jira.jboss.com/jira/browse/RF-1460
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0
> Reporter: Andrey Andreev
> Assigned To: Nick Belaevski
> Fix For: 3.2.0, Future Versions
>
>
> AjaxStateManager restores states in funny order (not as expected and described in comments)
> The reason most probably that there is a bug in Apache Commons Collections LRUMap implementation
> ( that is described in https://issues.apache.org/jira/browse/COLLECTIONS-279 )
> The effect of such behavior - command links do not work in dataTable with dataScroller after the page has been changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list