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 2014/08/15 14:36:18 UTC

[jira] [Commented] (OLINGO-406) Adjust request metadata dependent on specified format

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

Michael Bolz commented on OLINGO-406:
-------------------------------------

Hi [~anthony.elliott],

I checked your contribution and it look good for me.
Can you please check if all work for you before I merge it into the master.
The commit is currently in the [OLINGO-406 branch|https://git-wip-us.apache.org/repos/asf?p=olingo-odata4.git;a=commit;h=b81a2ee4fcebc019ec010e14075db8cf86409561].

If all works and their are no objections I would merge the change back to the master branch.

Kind regards,
Michael

> Adjust request metadata dependent on specified format
> -----------------------------------------------------
>
>                 Key: OLINGO-406
>                 URL: https://issues.apache.org/jira/browse/OLINGO-406
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>            Reporter: Anthony Elliott
>            Assignee: Michael Bolz
>         Attachments: metadata.diff
>
>
> If I changed the defaultPubFormat to be JSON (minimal metadata, OData 4 default) or JSON_NO_METADATA my requests were still sent with full metadata (which our server couldn't handle for some reason). Fixed by checking to see what format is being used before actually writing the metadata. I didn't cover all scenarios in testing, just what we needed, so use this as a starting point. There are likely some optimizations that I didn't bother trying to figure out for our limited scenarios.



--
This message was sent by Atlassian JIRA
(v6.2#6252)