You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Riccardo Mariani (JIRA)" <ji...@apache.org> on 2015/09/28 20:51:04 UTC

[jira] [Commented] (OLINGO-785) No full root path by default in metadata context

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

Riccardo Mariani commented on OLINGO-785:
-----------------------------------------

I think this is a duplicate of OLINGO-758

> No full root path by default in metadata context
> ------------------------------------------------
>
>                 Key: OLINGO-785
>                 URL: https://issues.apache.org/jira/browse/OLINGO-785
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-server
>    Affects Versions: (Java) V4 4.0.0
>            Reporter: Deniss Stserbak
>
> Hi there!
> There is no full path to metadata in Service  Document by default and you cannot set it up, only when entity is called. Because of that I cannot import odata created with olingo V4 from Excel (olingo V2 works fine).
> I added a little fix to DefaultProcessor (org.apache.olingo.server.api.processor package)
> was - response.setContent(serializer.serviceDocument(serviceMetadata, null).getContent());
> fixed - response.setContent(serializer.serviceDocument(serviceMetadata, request.getRawRequestUri()).getContent());
> Also I've made a pull request https://github.com/apache/olingo-odata4/pull/6
> Can you please approve pull request or provide better solution.
> Thank you.



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