[
https://issues.apache.org/jira/browse/WICKET-4744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874696#comment-13874696
]
Martin Grigorov commented on WICKET-4744:
-----------------------------------------
And it seems the usages in GoAndClearFilter can be replaced with #cloneObject().
I'll mark #cloneModel() as deprecated in 7.x.
> Investigate reworking WicketObjects#clone(Object|Model) methods to use
> ISerializer
> ----------------------------------------------------------------------------------
>
> Key: WICKET-4744
> URL: https://issues.apache.org/jira/browse/WICKET-4744
> Project: Wicket
> Issue Type: Sub-task
> Components: wicket
> Affects Versions: 6.0.0
> Reporter: Martin Grigorov
>
> WicketObject#cloneXYZ() methods use normal Java serialization to clone an
> object/model.
> This will not work if the application uses a custom ISerializer which doesn't
> require all objects to be Serializable.
> It is not straight forward to replace this custom code with JavaSerializer
> because there are overrides for object replacement.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)