[ https://issues.apache.org/jira/browse/QPID-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Moravec closed QPID-5863. ------------------------------- > qpid-config does not throws correct exception when binding nonexisting > exchange > ------------------------------------------------------------------------------- > > Key: QPID-5863 > URL: https://issues.apache.org/jira/browse/QPID-5863 > Project: Qpid > Issue Type: Bug > Components: Tools > Affects Versions: 0.28 > Reporter: Pavel Moravec > Assignee: Pavel Moravec > Priority: Minor > Fix For: Future > > > Description of problem: > When binding nonexisting exchange to a queue, qpid-config failes with > attribute error, instead of not-found exception from qmf agent. > Version-Release number of selected component (if applicable): > qpid-tools-0.22-3.el6.noarch > How reproducible: > 100% > Steps to Reproduce: > 1. bind a non existing exchange > qpid-config bind "asdf" queue 'x' > Actual results: > Failed: AttributeError: 'NoneType' object has no attribute 'type' > Expected results: > exception like with non existing queue > Failed: Exception: Exception from Agent: {u'error_code': 7, u'error_text': > 'not-found: Bind failed. No such exchange: asdf > (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/Broker.cpp:1445)'} > Additional info: > binding non existing queue: > qpid-config bind "amq.topic" queue 'x' > Failed: Exception: Exception from Agent: {u'error_code': 7, u'error_text': > 'not-found: Bind failed. No such queue: queue > (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/Broker.cpp:1445)'} -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org