clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmür (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CLEREZZA-850) SolutionMapping implementation is not serializable
Date Fri, 06 Dec 2013 16:01:37 GMT

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

Reto Bachmann-Gmür commented on CLEREZZA-850:
---------------------------------------------

VETOed Change, see Mailing List. The Problematic part is Resources and thus becoming seriualizable.

> SolutionMapping implementation is not serializable
> --------------------------------------------------
>
>                 Key: CLEREZZA-850
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-850
>             Project: Clerezza
>          Issue Type: Bug
>          Components: rdf.core
>            Reporter: Minto van der Sluis
>            Assignee: Minto van der Sluis
>            Priority: Critical
>
> The SolutionMapping implementation HashMapSolutionMapping itself is serializable since
the underlying HashMap is serializable. However the key (Variable) and value (Resource) are
not serializable. So as a whole SolutionMapping can not be serialized.
> Serialization is needed to create a SolutionMapping based model in an Apache Wicket based
project. Now there are 2 posiblities to fix this:
> 1) Wrap SolutionMapping in a serialized equivalent
> 2) Make the necessary Clerezza parts serializable
> If there aren't any objections. I prefer option 2. Making the right components serializable.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message