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

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

Deniss Stserbak created OLINGO-785:
--------------------------------------

             Summary: 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)