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

Archana Rai updated OLINGO-1055:
--------------------------------
    Attachment: a5d9b86c.diff

Hi,

Please merge the attached code (patch file) having the fix for this issue.

Thanks,
Archana



> 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
>         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