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 2015/07/23 08:58:05 UTC
[jira] [Closed] (OLINGO-732) The *media_src* link in {{__metadata}}
is not absolut
[ https://issues.apache.org/jira/browse/OLINGO-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Bolz closed OLINGO-732.
-------------------------------
> The *media_src* link in {{__metadata}} is not absolut
> -----------------------------------------------------
>
> Key: OLINGO-732
> URL: https://issues.apache.org/jira/browse/OLINGO-732
> Project: Olingo
> Issue Type: Bug
> Affects Versions: V2 2.0.4
> Reporter: Michael Bolz
> Assignee: Michael Bolz
> Fix For: V2 2.0.5
>
>
> The *media_src* link in {{__metadata}} is not absolut (expect to all other links).
> {code}
> __metadata: {
> id: "http://localhost/odata/SomeEntity('ABCD')",
> uri: "http://localhost/odata/SomeEntity('ABCD')",
> media_src: "SomeEntity('ABCD')/$value",
> edit_media: "http://localhost/odata/SomeEntity('ABCD')/$value"
> }
> {code}
> The {{mediaSrc}} variable should use {{location}} instead of {{self}}. See {{JsonEntryEntityProducer.writeMetadata(...)}}:232ff
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)