You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Kent Sølvsten (JIRA)" <ji...@apache.org> on 2015/12/21 22:46:46 UTC

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

Kent Sølvsten created ZEST-137:
----------------------------------

             Summary: EntityStateSerializer unable to handle values that are not declared as composites.
                 Key: ZEST-137
                 URL: https://issues.apache.org/jira/browse/ZEST-137
             Project: Zest
          Issue Type: Bug
            Reporter: Kent Sølvsten
            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.4#6332)