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 Amend (JIRA)" <ji...@apache.org> on 2016/02/04 15:30:39 UTC

[jira] [Resolved] (OLINGO-862) MediaEntity Type: HasStream is not inherited

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

Christian Amend resolved OLINGO-862.
------------------------------------
       Resolution: Fixed
         Assignee: Christian Amend
    Fix Version/s: (Java) V4 4.2.0

Hi Frederick,

thank you very much for the contribution! Also including a test is just what we were looking for.

I applied it with this commit: https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=53065cdface25971ef50a7b97febf54c7e69c623

Thanks again & Best Regards,
Christian

> 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
>            Assignee: Christian Amend
>            Priority: Minor
>             Fix For: (Java) V4 4.2.0
>
>         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)