What steps will reproduce the problem?
1. The HashMap store saved the apiKey_session_key Cookie with hashCode -
705612063
2. While iterating through more Cookies it encounters a cookie named apiKey
3. This is assigned hashCode -705612063 as well
4. This bumps the apiKey_session_key out of the hashMap
5. Because of this the API reports the user is not logged in
What is the expected output? What do you see instead?
The user appears logged out instead of logged in
What version of the product are you using? On what operating system?
2.1.1 of Code, Windows Vista x64, Java 6 update 10, jboss 5.0.0, Spring
2.5.x
Please provide any additional information below.
I modified the code to use TreeMap instead of HashMap for _getRequestParams
() and _getCookiesParams(). This resolved the issue.
Original issue reported on code.google.com by conno...@christoit.com on 6 Aug 2009 at 5:22
Original issue reported on code.google.com by
conno...@christoit.com
on 6 Aug 2009 at 5:22