Bug 680479 - message_cancel should throw 404 not-found exception if subscription does not exist
Summary: message_cancel should throw 404 not-found exception if subscription does not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.0
: ---
Assignee: Gordon Sim
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-25 17:25 UTC by Gordon Sim
Modified: 2011-06-23 15:43 UTC (History)
3 users (show)

Fixed In Version: qpid-cpp-0.9.1079953
Doc Type: Bug Fix
Doc Text:
Cause A message cancel is issued for an unknown subscription destination Consequence Nothing; the erroneous cancel is ignored. Fix The broker was modified to raise a not-found error as required by the specification. Result A 404, not-found error is raised.
Clone Of:
Environment:
Last Closed: 2011-06-23 15:43:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:0890 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 2.0 Release 2011-06-23 15:42:41 UTC

Description Gordon Sim 2011-02-25 17:25:01 UTC
see: https://issues.apache.org/jira/browse/QPID-2324

Comment 1 Gordon Sim 2011-02-25 17:32:14 UTC
Fixed upstream: http://svn.apache.org/viewvc?rev=1074642&view=rev

Comment 2 Gordon Sim 2011-02-25 17:32:14 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause
    A message cancel is issued for an unknown subscription destination

Consequence
    Nothing; the erroneous cancel is ignored.    

Fix
    The broker was modified to raise a not-found error as required by the specification.

Result
    A 404, not-found error is raised.

Comment 3 Petr Matousek 2011-04-05 11:32:47 UTC
This issue has been fixed

Verified on RHEL4.9, RHEL5.6 and RHEL6.1, architectures: i386, x86_64

packages installed:
qpid-cpp-server-0.10-1.el5
qpid-cpp-client-ssl-0.10-1.el5
qpid-qmf-devel-0.10-2.el5
python-qpid-0.10-1.el5
qpid-java-client-0.10-1.el5
qpid-cpp-client-devel-docs-0.10-1.el5
qpid-cpp-client-0.10-1.el5
qpid-qmf-0.10-2.el5
qpid-cpp-client-devel-0.10-1.el5
qpid-cpp-server-devel-0.10-1.el5
qpid-tools-0.10-1.el5
qpid-cpp-server-xml-0.10-1.el5
qpid-cpp-server-ssl-0.10-1.el5
qpid-cpp-server-cluster-0.10-1.el5
qpid-java-common-0.10-1.el5
python-qpid-qmf-0.10-2.el5
qpid-cpp-server-store-0.10-1.el5

-> VERIFIED

Comment 4 errata-xmlrpc 2011-06-23 15:43:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2011-0890.html


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