You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ethan Gordon (Jira)" <ji...@apache.org> on 2022/10/05 20:35:00 UTC

[jira] [Created] (OLINGO-1588) Support properties with ValueType.Entity in ODataJsonSerializer

Ethan Gordon created OLINGO-1588:
------------------------------------

             Summary: Support properties with ValueType.Entity in ODataJsonSerializer
                 Key: OLINGO-1588
                 URL: https://issues.apache.org/jira/browse/OLINGO-1588
             Project: Olingo
          Issue Type: Improvement
          Components: odata4-server
            Reporter: Ethan Gordon


Needing to set a property of one entity (Property 3 ** of Entity {*}A{*}) to be the value of another Entity (Entity {*}B{*}). For instance, I have the following set up: 

{quote}
<EntityType Name="HearingTest">
<Key>
<PropertyRefName="Id"/>
</Key>
<PropertyName="Id"Type="Edm.String"></Property>
<PropertyName="Name"Type="Edm.String"></Property>
<PropertyName="template"Type="com.raptor.dataloader.template"></Property>
</EntityType>
<ComplexTypeName="template">
<PropertyName="testName"Type="Edm.String"></Property>
<PropertyName="testResults"Type="Collection(Edm.String)"></Property>
</ComplexType>
{quote}
 
When I try and process a request asking for a HearingTest, the ODataJsonSerializer returns an error, "Property type not yet supported". 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)