You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Dirk Forchel (JIRA)" <ji...@apache.org> on 2019/06/17 13:07:00 UTC
[jira] [Commented] (WICKET-6671) IAjaxLink should be serializable
[ https://issues.apache.org/jira/browse/WICKET-6671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865574#comment-16865574 ]
Dirk Forchel commented on WICKET-6671:
--------------------------------------
Hello Martin,
I would like to know if this problem would also apply to the sortable property of a table. I think the generic <S> for the OrderByLink should extend IClusterable as well.
If you wanna store this property as a class field, the IDEA inspection blames the code as well as not serializable.
> IAjaxLink should be serializable
> --------------------------------
>
> Key: WICKET-6671
> URL: https://issues.apache.org/jira/browse/WICKET-6671
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 8.3.0
> Reporter: Dirk Forchel
> Assignee: Martin Grigorov
> Priority: Major
> Fix For: 9.0.0-M2, 8.6.0
>
>
> The public interface IAjaxLink should be serializable and should extend the IClusterable interface. Otherwise it would not be possible without warning messages to hold a field of IAjaxLink in a Serializable class (e.g. like AjaxPagingNavigationBehavior does).
> Code analyzed by IDEA inspections: *Non-serializable field 'owner' in a Serializable class*
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)