Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2180

[python binding] on_released called when delivery is MODIFIED

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • proton-c-0.28.0
    • None
    • python-binding
    • None

    Description

      Reproducer:

      qpid-dispatch self test system_tests_multicast: test_63_unsettled_3ack_outcomes

      Description:

      def on_released(self, event):
          # for some reason Proton 'helpfully' calls on_released even though the
          # delivery state is actually MODIFIED
          if event.delivery.remote_state == Delivery.MODIFIED:
              return self.on_modified(event)
      

      The self test today triggers the if statement six times on every run.

      Attachments

        1. system_tests_multicast-PROTON-2180.py
          39 kB
          Charles E. Rolke
        2. PROTON-2180-test-log.txt
          5 kB
          Charles E. Rolke

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chug Charles E. Rolke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: