Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5836

[Python client] Report error when encountering unrecognized connection option

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.28
    • Fix Version/s: 0.29
    • Component/s: Python Client
    • Labels:
      None

      Description

      It would be valuable to report error when unrecognized connection option is provided to the connection object in Python client, like c++ client does.

      Currently unrecognized options are silently ignored when creating the connection, so user may for example set the mistyped connection options in the API doc, and won't be aware of that something went wrong.

      Steps to Reproduce:
      1. pass non-supported connection option to connection object
      2. no error/warning appears

      Actual results:
      unrecognized connection options are silently ignored

      Expected results:
      An error reported on encountering unrecognized connection option

        Activity

        Hide
        pmoravec Pavel Moravec added a comment -

        To let automated tests passed, previous commit r1605703 is required.

        Show
        pmoravec Pavel Moravec added a comment - To let automated tests passed, previous commit r1605703 is required.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1605704 from Pavel Moravec in branch 'qpid/trunk'
        [ https://svn.apache.org/r1605704 ]

        QPID-5836: [Python client] Report error when encountering unrecognized connection option

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1605704 from Pavel Moravec in branch 'qpid/trunk' [ https://svn.apache.org/r1605704 ] QPID-5836 : [Python client] Report error when encountering unrecognized connection option

          People

          • Assignee:
            pmoravec Pavel Moravec
            Reporter:
            pmoravec Pavel Moravec
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development