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/14 13:03:04 UTC
[jira] [Created] (OLINGO-732) The *media_src* link in
{{__metadata}} is not absolut
Michael Bolz created OLINGO-732:
-----------------------------------
Summary: 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
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)