You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/08/11 15:31:12 UTC

[jira] [Resolved] (WICKET-5670) org.apache.wicket.protocol.ws.api.registry.IKey should be Serializable (IClusterable)

     [ https://issues.apache.org/jira/browse/WICKET-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5670.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.17.0
                   7.0.0-M3

> org.apache.wicket.protocol.ws.api.registry.IKey should be Serializable (IClusterable)
> -------------------------------------------------------------------------------------
>
>                 Key: WICKET-5670
>                 URL: https://issues.apache.org/jira/browse/WICKET-5670
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-native-websocket
>    Affects Versions: 7.0.0-M2
>            Reporter: Sebastien Briquet
>            Assignee: Martin Grigorov
>             Fix For: 7.0.0-M3, 6.17.0
>
>
> IKey not serializable whereas it is supposed to be.
> this.add(new WebSocketBehavior() {
>     private static final long serialVersionUID = 1L;
>     @Override
>     protected void onConnect(ConnectedMessage message)
>     {
>         super.onConnect(message);
>        
>         LOG.info("Client connected");
>        
>         applicationName = message.getApplication().getName();
>         sessionId = message.getSessionId();
>         key = message.getKey();
>     }
> });
> Leads to:
> private org.apache.wicket.protocol.ws.api.registry.IKey
> MyPage.key [class=org.apache.wicket.protocol.ws.api.registry.PageIdKey] <----- field that is causing the problem
> If you could update the wicket guide in the same time (the usage of the key), it would be nice!
> http://wicket.apache.org/guide/guide/nativewebsockets.html#nativewebsockets_2
> Thanks in advance,
> Sebastien



--
This message was sent by Atlassian JIRA
(v6.2#6252)