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

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: