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

handler appears to get ignored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.10
    • proton-0.11.0
    • python-binding
    • None

    Description

      If a handler defines methods such that it is evaluated to false in a boolean context, then tests inside the Container and/or MessagingHandler whose aim is to test whether a handler is set, will fail even though there is a handler.

      E.g. if the handler has a _len_() method that returns 0 when Container.create_receiver is called, the handler will not be set.

      Attachments

        Activity

          People

            gsim Gordon Sim
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: