Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-231 Serialization 3.0
  3. POLYGENE-137

EntityStateSerializer unable to handle values that are not declared as composites.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0
    • None

    Description

      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
      { ... }

      Attachments

        Activity

          People

            eskatos Paul Merlin
            soelvsten Kent Sølvsten
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: