Christian Amend resolved OLINGO-1055.
       Resolution: Fixed
         Assignee: Christian Amend
    Fix Version/s: V2 2.0.8

Thanks for the contribution. I applied the patch with the following commit: 

> OData V2.0: Omit empty inline tags for null data
> ------------------------------------------------
>                 Key: OLINGO-1055
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1055
>             Project: Olingo
>          Issue Type: Bug
>            Reporter: Archana Rai
>            Assignee: Christian Amend
>             Fix For: V2 2.0.8
>         Attachments: a5d9b86c.diff
> If a callback is set and there is no inline data we write empty inline tags 
> in XML or a "navigationProperty:null" in JSON.
> To prevent this, we can provide a flag at the EntityProviderWriteProperties 
> to omit the m:inline tag in XML and the navigation property :null in JSON 
> when this flag is set and the callback does not deliver data. 
> If the flag is not set, the default behavior should not be changed.

This message was sent by Atlassian JIRA

Reply via email to