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:56:05 UTC
[jira] [Resolved] (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 resolved OLINGO-732.
---------------------------------
Resolution: Fixed
Fixed with commit [\[OLINGO-732\] Changed relative to absolute media_src url|https://git1-us-west.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=d6fe9bf6eaa6fc006a6e147cf3ca99a1403898a0].
> 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
>
> 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)