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

Frederik Zimmer updated OLINGO-862:
-----------------------------------
    Attachment: OLINGO862-MediaEntity-Type-HasStream-is-not-inherite.patch

This patch should fix the issue.

> 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
>         Attachments: 
> OLINGO862-MediaEntity-Type-HasStream-is-not-inherite.patch
>
>
> 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 current 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)

Reply via email to