You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Christian Amend (JIRA)" <ji...@apache.org> on 2014/12/18 14:27:13 UTC

[jira] [Resolved] (OLINGO-524) Unexpected Property Inheritance Behavior

     [ https://issues.apache.org/jira/browse/OLINGO-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Amend resolved OLINGO-524.
------------------------------------
       Resolution: Cannot Reproduce
    Fix Version/s: (Java) V4 4.0.0-beta-02
         Assignee: Christian Amend

Hi Michael,

I cannot reproduce this behaviour. This is the metadata from our technical scenario. As you can sse it works there: 
<EntityType Name="ETAbstract" Abstract="true">
				<Property Name="PropertyString" Type="Edm.String"/>
</EntityType>
<EntityType Name="ETAbstractBase" BaseType="olingo.odata.test1.ETAbstract">
				<Key>
					<PropertyRef Name="PropertyInt16"/>
				</Key>
				<Property Name="PropertyInt16" Type="Edm.Int16" Nullable="false"/>
</EntityType>

Could you please check with the latest snapshot and see if this issue still persists? 

Best Regards,
Christian

> Unexpected Property Inheritance Behavior
> ----------------------------------------
>
>                 Key: OLINGO-524
>                 URL: https://issues.apache.org/jira/browse/OLINGO-524
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: V4 4.0.0-beta-01
>            Reporter: Michael Burwig
>            Assignee: Christian Amend
>            Priority: Minor
>             Fix For: (Java) V4 4.0.0-beta-02
>
>
> Scenario:
> - abstract entity type *A* defines properties *a*, *b*, *c*
> - entity type *B* declares *A* as its base type and defines key property *d*
> Observation:
> The CSDL metadata document contains duplicate definitions for the properties *a*, *b*, *c* (once for entity type *B* and once for *A*). I could not find the respective passage in the specification document, but based on other OData implementations I did not expect to see the derived properties defined again.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)