You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Paul Merlin (JIRA)" <ji...@apache.org> on 2017/02/27 14:56:45 UTC

[jira] [Updated] (POLYGENE-137) EntityStateSerializer unable to handle values that are not declared as composites.

     [ https://issues.apache.org/jira/browse/POLYGENE-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Merlin updated POLYGENE-137:
---------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: POLYGENE-231

> EntityStateSerializer unable to handle values that are not declared as composites.
> ----------------------------------------------------------------------------------
>
>                 Key: POLYGENE-137
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-137
>             Project: Polygene
>          Issue Type: Sub-task
>            Reporter: Kent Sølvsten
>            Assignee: Paul Merlin
>            Priority: Minor
>             Fix For: 3.0
>
>
> Querying for Male entities by Address fails againg RdfIndexer, if Address is not declared as a ValueComposite.
> Steps to reproduce: Remove "extends ValueComposte" for org.apache.zest.test.indexing.model.Address.
> This causes RdfQueryTest#script32 to fail (the corresponding testcase against ElasticSearch still works).
> The bug is probably inside EntityStateSerializer#serializePropert:
>         if( valueType instanceof ValueCompositeType )
>         {
>             ...
>         }
>         else
>         {
>             ...
>         }



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)