You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/07/01 14:20:25 UTC
[jira] [Commented] (QPID-5863) qpid-config does not throws correct
exception when binding nonexisting exchange
[ https://issues.apache.org/jira/browse/QPID-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14048800#comment-14048800 ]
ASF subversion and git services commented on QPID-5863:
-------------------------------------------------------
Commit 1607061 from [~pmoravec] in branch 'qpid/trunk'
[ https://svn.apache.org/r1607061 ]
[QPID-5863]: qpid-config does not throws correct exception when binding nonexisting exchange; fix from Zdenek Kraus
> 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