You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/02 08:08:00 UTC

[jira] [Commented] (WICKET-6504) Use a serializable model for FileSystemResource's path

    [ https://issues.apache.org/jira/browse/WICKET-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307755#comment-16307755 ] 

ASF subversion and git services commented on WICKET-6504:
---------------------------------------------------------

Commit 7e25f47fd1259c34824d40d5ec52e0b595ded774 in wicket's branch refs/heads/master from [~solomax]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=7e25f47 ]

[WICKET-6504] path can be null


> Use a serializable model for FileSystemResource's path
> ------------------------------------------------------
>
>                 Key: WICKET-6504
>                 URL: https://issues.apache.org/jira/browse/WICKET-6504
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.8.0
>            Reporter: Claudia Hirt
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 8.0.0
>
>
> FileSystemResource takes a java.nio.file.Path to load the resource. 
> This leads to java.io.NotSerializableException: sun.nio.fs.WindowsPath in my case. I know this is a problem of JavaSerializer and I already found the solution to use something like Kryo Serializer instead.
> But wouldn't it be better to have the possibility to use a Model for the path anyway?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)