You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Ramya (JIRA)" <ji...@apache.org> on 2017/05/29 03:47:04 UTC

[jira] [Commented] (OLINGO-1132) Type information is lost when primitive properties with null value is updated

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

Ramya commented on OLINGO-1132:
-------------------------------

The hasPrimitiveValue() method returns true only when the value is not null and value is primitive. But, primitive types can have null values. Changing the implementation in this function fixes the issue.

> Type information is lost when primitive properties with null value is updated
> -----------------------------------------------------------------------------
>
>                 Key: OLINGO-1132
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1132
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata4-client
>    Affects Versions: (Java) V4 4.3.0
>            Reporter: Ramya
>            Priority: Minor
>
> During Serialization, the type information of  all those primitive types whose value is null becomes String. The actual type is lost.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)