Thomas Andraschko updated MYFACES-4124:
       Resolution: Fixed
         Assignee: Thomas Andraschko
    Fix Version/s: 2.3.0
           Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Thomas Andraschko
>             Fix For: 2.3.0
>         Attachments: MYFACES-4124.patch
> 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

Reply via email to