qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1882) [cpp] cannot send message properties with null values
Date Tue, 03 Jul 2018 15:02:00 GMT

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

ASF subversion and git services commented on PROTON-1882:
---------------------------------------------------------

Commit 9e8edc17d444c83175969b55aefe4620ac711fd7 in qpid-proton's branch refs/heads/master
from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=9e8edc1 ]

PROTON-1882: [cpp] cannot send message properties with null values

The is_scalar() function was returning false for NULL_TYPE values, so extracting
a null into a proton::scalar threw a conversion_error. Fixed so NULL is now
considered a scalar type.

Also added additional tests for null values, and fixed some missing support for
the C++11 nullptr.


> [cpp] cannot send message properties with null values
> -----------------------------------------------------
>
>                 Key: PROTON-1882
>                 URL: https://issues.apache.org/jira/browse/PROTON-1882
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: cpp-binding
>    Affects Versions: proton-c-0.23.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>
> Proton throws a conversion_error if a null value is decoded into a proton::scalar, in
particular when decoding application properties that contain null values. nulls should be
legal anywhere that any other scalar is.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message