qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Moravec (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (QPID-5863) qpid-config does not throws correct exception when binding nonexisting exchange
Date Tue, 01 Jul 2014 12:24:24 GMT

     [ 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-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message