Qpid Proton
  1. Qpid Proton
  2. PROTON-325

Python lists are truncated when None is encountered

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5
    • Component/s: proton-c
    • Labels:
      None

      Description

      When receiving a message that has a list with a None, all subsequent values in the list are lost.

      To reproduce:

      • modify program send.py by adding
        msg.properties = ["one", "two", None, "three", "four"]
        before the mng.put(msg) line
      • launch example program recv.py
      • run modified send.py and notice the list truncation

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1491714 from rhs@apache.org
        [ https://svn.apache.org/r1491714 ]

        PROTON-325: modified type enum so that PN_NULL is no longer false; added a test that includes a list with a null in the middle

        Show
        ASF subversion and git services added a comment - Commit 1491714 from rhs@apache.org [ https://svn.apache.org/r1491714 ] PROTON-325 : modified type enum so that PN_NULL is no longer false; added a test that includes a list with a null in the middle

          People

          • Assignee:
            Rafael H. Schloming
            Reporter:
            Ernest Allen
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development