Frederik Zimmer created OLINGO-862:
--------------------------------------
Summary: MediaEntity Type: HasStream is not inherited
Key: OLINGO-862
URL: https://issues.apache.org/jira/browse/OLINGO-862
Project: Olingo
Issue Type: Bug
Components: odata4-server
Affects Versions: (Java) V4 4.1.0
Reporter: Frederik Zimmer
Priority: Minor
I have an entity that has no HasStream attribute and a BaseType which has
HasStream set to true. Creation of the media entity fails as the type isn't
recognized as a media entity.
>From the spec "The value of the the HasStream attribute is inherited by all
>derived types."
In the method hasStream of EdmEntityTypeImpl only the currect type is checked.
The hasStream Method should return true if the current type has a stream or the
base type has a stream.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)