You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2016/09/20 18:34:20 UTC

[jira] [Commented] (OLINGO-1024) AnnotationEdmProvider does not add mapping for Media Resource Annotations

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

Michael Bolz commented on OLINGO-1024:
--------------------------------------

Hi [~stefanbo72],

Thanks for find and fix of the issue.
I applied your patch (see [here|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=17dc8da793f8aaeb8c2c4391cfd1ace28742adb3]).

Best Regards, Michael

> AnnotationEdmProvider does not add mapping for Media Resource Annotations
> -------------------------------------------------------------------------
>
>                 Key: OLINGO-1024
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1024
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-annotation
>    Affects Versions: V2 2.0.6, V2 2.0.7, V2 2.0.8
>            Reporter: Stefan Boller
>            Assignee: Michael Bolz
>             Fix For: V2 2.0.6, V2 2.0.7, V2 2.0.8
>
>         Attachments: 0001-OLINGO-1024-Fix-media-resource-annotations.patch
>
>
> According to JavaDoc of annotations @EdmMediaResourceSource and @EdmMediaResourceMimeType these annotations can be used together with the @EdmProperty annotation to mark a property as the media resource source or the media resource type, respectively. However, the mapping to these fields is not added to the corresponding EntityType.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)