polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Sølvsten (JIRA) <j...@apache.org>
Subject [jira] [Created] (ZEST-137) EntityStateSerializer unable to handle values that are not declared as composites.
Date Mon, 21 Dec 2015 21:46:46 GMT
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)

Mime
View raw message