Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1133948

Summary: [amqp1.0] asserting legacy-amqp-topic-binding on xml exchange node does not fail
Product: Red Hat Enterprise MRG Reporter: Zdenek Kraus <zkraus>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Zdenek Kraus <zkraus>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.0CC: esammons, gsim, iboverma, jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-48 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1202376 (view as bug list) Environment:
Last Closed: 2015-01-21 12:55:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1010399, 1202376    

Description Zdenek Kraus 2014-08-26 13:58:20 UTC
Description of problem:
asserting AMQP 1.0 link filter legacy-amqp-topic-binding when subscribing to a xml exchange does not fail, although it is not supported in that configuration.

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

How reproducible:
100%

Steps to Reproduce:
1. subscribe to a xml exchange (create) with legacy-amqp-topic-binding
./qc2_drain --connection-options "{protocol:'amqp1.0'}" --log-msgs dict -c 0 -f "my-xml2;{create:always,assert:always,node:{type:topic,'properties':{'exchange-type':xml}},link:{filter:{value:'a.#', name:'x', descriptor: 'apache.org:legacy-amqp-topic-binding:string'}}}"


Actual results:
Does not fail, 
and filter does not work (latter is expected)

Expected results:
Client should fail with assert exception

Additional info:

Comment 1 Gordon Sim 2014-08-26 15:22:07 UTC
Fixed upstream: https://svn.apache.org/r1620630

Comment 2 Zdenek Kraus 2014-08-26 15:48:34 UTC
adding mrg-3.0.0? as agreed with gsim

Comment 3 Zdenek Kraus 2014-09-01 06:58:38 UTC
Tested on RHEL 6.5 i686 && x86_64 with following packages:

qpid-cpp-client-0.22-48.el6
qpid-cpp-client-devel-0.22-48.el6
qpid-cpp-client-devel-docs-0.22-48.el6
qpid-cpp-client-rdma-0.22-48.el6
qpid-cpp-debuginfo-0.22-48.el6
qpid-cpp-server-0.22-48.el6
qpid-cpp-server-devel-0.22-48.el6
qpid-cpp-server-ha-0.22-48.el6
qpid-cpp-server-linearstore-0.22-48.el6
qpid-cpp-server-rdma-0.22-48.el6
qpid-cpp-server-xml-0.22-48.el6

Works as expected.