[
https://issues.apache.org/jira/browse/OLINGO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248325#comment-14248325
]
Michael Bolz commented on OLINGO-486:
-------------------------------------
Hi [~cholzer],
Thanks for the contribution.
I will check the fix and push it if all looks good.
Kind regards,
Michael
> 'abstract' flag on Entity Types and Complex Types never evaluated
> -----------------------------------------------------------------
>
> Key: OLINGO-486
> URL: https://issues.apache.org/jira/browse/OLINGO-486
> Project: Olingo
> Issue Type: Bug
> Components: odata4-client, odata4-server
> Affects Versions: V4 4.0.0-beta-01, (Java) V4 4.0.0-beta-02
> Environment: org.apache.olingo.server
> Reporter: Michael Burwig
> Assignee: Michael Bolz
> Attachments: Olingo-486.diff
>
>
> Setting the 'abstract' flag on
> org.apache.olingo.server.api.edm.provider.EntityType is neither reflected in
> the metadata document, nor taken into account during request processing.
> An exemplary scenario:
> - abstract entity type 'A' does not define an entity key
> - entity type 'B' has 'A' as a base type and defines a key property and
> reference
> - neither does the key property reference on 'B' appear in the respective
> metadata section, nor is it possible to retrieve an entity by specifying said
> key value
> Apparently, the 'abstract' flag is ignored during processing. Hence type 'B'
> is inheriting type 'A's key properties (of which there are none) and ignoring
> any key's defined on type 'B' itself.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)