[ 
https://issues.apache.org/jira/browse/OLINGO-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: 
https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=4e1667fcc4ac320aed19e3b0360af4c7fec651f0

> 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
(v6.3.4#6332)

Reply via email to