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)

Reply via email to