[ https://issues.apache.org/jira/browse/WICKET-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16307901#comment-16307901 ]
Tobias Soloschenko edited comment on WICKET-6504 at 1/2/18 11:24 AM: --------------------------------------------------------------------- Hi, I just asked to also apply it within Wicket 7 - it was only done within the master branch, yet - WDYT? I asked because it is an API break. https://github.com/apache/wicket/commit/7e25f47fd1259c34824d40d5ec52e0b595ded774#commitcomment-26590409 was (Author: klopfdreh): Hi, I just asked to also apply it within Wicket 7 - it was only done within the master branch, yet - WDYT? I asked because it is an API break. https://github.com/apache/wicket/commit/7e25f47fd1259c34824d40d5ec52e0b595ded774 > 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)