Michael Burwig created OLINGO-486:
-------------------------------------
Summary: '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-server
Affects Versions: V4 4.0.0-beta-01, (Java) V4 4.0.0-beta-02
Environment: org.apache.olingo.server
Reporter: Michael Burwig
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)