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 Holzer (JIRA)" <ji...@apache.org> on 2014/12/16 15:01:14 UTC

[jira] [Commented] (OLINGO-486) 'abstract' flag on Entity Types and Complex Types never evaluated

    [ https://issues.apache.org/jira/browse/OLINGO-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248268#comment-14248268 ] 

Christian Holzer commented on OLINGO-486:
-----------------------------------------

Just added a fix.

> '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: Christian Amend
>         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)