You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2018/04/28 07:46:00 UTC

[jira] [Closed] (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 ]

Niclas Hedhman closed POLYGENE-137.
-----------------------------------

> 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.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
(v7.6.3#76005)