Bug 1133948 - [amqp1.0] asserting legacy-amqp-topic-binding on xml exchange node does not fail
Summary: [amqp1.0] asserting legacy-amqp-topic-binding on xml exchange node does not fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 3.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Gordon Sim
QA Contact: Zdenek Kraus
URL:
Whiteboard:
Depends On:
Blocks: 1010399 1202376
TreeView+ depends on / blocked
 
Reported: 2014-08-26 13:58 UTC by Zdenek Kraus
Modified: 2015-03-16 13:54 UTC (History)
4 users (show)

Fixed In Version: qpid-cpp-0.22-48
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1202376 (view as bug list)
Environment:
Last Closed: 2015-01-21 12:55:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-6045 0 None None None Never
Red Hat Bugzilla 981640 0 medium CLOSED assert should check the filters actually in use over AMQP 1.0 2021-02-22 00:41:40 UTC

Internal Links: 981640

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.


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