Bug 964228 - amqp1.0: User shall be warned when using wrong syntax in the address string
Summary: amqp1.0: User shall be warned when using wrong syntax in the address string
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: 3.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks: 1010399
TreeView+ depends on / blocked
 
Reported: 2013-05-17 15:18 UTC by Petr Matousek
Modified: 2014-09-24 15:08 UTC (History)
2 users (show)

Fixed In Version: qpid-cpp-0.22-4.el6, qpid-cpp-0.22-4.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-24 15:08:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

Description Petr Matousek 2013-05-17 15:18:40 UTC
Description of problem:

User shall be warned when using wrong syntax, ie.

# ./spout --connection-options "{protocol:'amqp1.0'}"  "q;{create:sender,x-declare:{auto-delete:True}}"

no error message, the queue is created, but naturally it is not auto-del (the x-declare should be in a node:{})

over 0-10 an error is properly reported:
# ./spout "q6;{create:sender,x-declare:{auto-delete:True}}"
Unrecognised option: x-declare

Version-Release number of selected component (if applicable):
qpid-cpp-0.22-2

How reproducible:
100%

Steps to Reproduce:
1. ./spout --connection-options "{protocol:'amqp1.0'}"  "q;{create:sender,{x-declare:{exclusive:True}}"
2. no error notifying user that the syntax is wrong
  
Actual results:
No error by supplying wrong syntax in the address string

Expected results:
Raise an error when the address string syntax is wrong

Additional info:

Comment 1 Gordon Sim 2013-05-24 16:52:12 UTC
Fixed upstream by http://svn.apache.org/viewvc?view=revision&revision=1486115

Comment 2 Petr Matousek 2013-07-02 15:42:48 UTC
The issue has been fixed

Verified on RHEL5.9 and RHEL6.4, architectures: i386, x86_64

packages installed:
qpid-cpp-*-0.22-6

-> VERIFIED

Comment 3 errata-xmlrpc 2014-09-24 15:08:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html


Note You need to log in before you can comment on or make changes to this bug.