[ https://issues.apache.org/jira/browse/MYFACES-4124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Breijo updated MYFACES-4124: ------------------------------------ Status: Patch Available (was: Open) > Wrong user properties map is used when using <f:websocket> and onOpen method > is invoked > --------------------------------------------------------------------------------------- > > Key: MYFACES-4124 > URL: https://issues.apache.org/jira/browse/MYFACES-4124 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.3.0-beta > Environment: WebSphere Application Server Liberty profile > Reporter: Eduardo Breijo > > The <f:websocket> tag does not work due to a wrong object being used to get > user properties map when the onOpen method from EndpointImpl is called. > Currently, the WEBSOCKET_VALID key is stored in the user properties map of > ServerEndpointConfig. When the onOpen method is called, it tries to retrieve > the value stored for this key, but it is trying to get it from the wrong user > properties map, that is, from the Session map, instead of getting it from the > EndpointConfig user properties map. > A patch has been provided to fix this issue. -- This message was sent by Atlassian JIRA (v6.4.14#64029)