Bug 1086817 - When the node name starts with '#' character the node shall be created
Summary: When the node name starts with '#' character the node shall be created
Keywords:
Status: CLOSED DUPLICATE of bug 1086816
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: python-qpid
Version: Development
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 3.1
: ---
Assignee: Pavel Moravec
QA Contact: Messaging QE
URL:
Whiteboard:
Depends On: 1086816
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-11 15:04 UTC by Petr Matousek
Modified: 2014-10-24 12:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1086816
Environment:
Last Closed: 2014-10-24 12:26:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-5823 0 None None None Never

Description Petr Matousek 2014-04-11 15:04:06 UTC
+++ This bug was initially created as a clone of Bug #1086816 +++

Description of problem:

When the node name in the address string starts with '#' character the node shall be created (and removed on link close) due to consistency with C++ client. Using python client the desired node is NOT created. Please see additional info for details.  

Version-Release number of selected component (if applicable):
python-qpid-0.22-13

How reproducible:
100%

Steps to Reproduce:
1. ./drain.py '#q'
2. no such queue exception

Actual results:
When the node name starts with '#' character the node is NOT created

Expected results:
When the node name starts with '#' character the node is created and removed after the link is closed

Additional info:

python client:

# ./drain.py '#q'
Traceback (most recent call last):
...
qpid.messaging.exceptions.NotFound: no such queue: c2cd1162-d0a1-42c4-8f78-fe27aaf8cfea#q

C++ client:

# ./drain -t 1 "#q" & qpid-config queues; sleep 1; qpid-config queues
[1] 28029
Queue Name                                Attributes
=================================================================
441d5b59-4f9f-4eb5-9a34-fe81b0f8efab:0.0  auto-del excl 
ea0b1fd1-ee6f-440f-82bd-016b049822db#q    auto-del excl 
[1]+  Done                    ./qc2_drain -t 1 "#q"
Queue Name                                Attributes
=================================================================
78abdff1-c255-441d-98d1-3277fe4cbc17:0.0  auto-del excl

---

Cloning for 2.3.x

affected version:
python-qpid-0.18-4.el6.noarch

Comment 1 Pavel Moravec 2014-06-16 08:45:16 UTC
Committed to upstream r1602820.

Comment 2 Pavel Moravec 2014-06-16 12:37:02 UTC
(In reply to Pavel Moravec from comment #1)
> Committed to upstream r1602820.


Disregard.. that breaks application to get expanded address.

A fix proposal covering that is at https://reviews.apache.org/r/22630/

Comment 3 Pavel Moravec 2014-07-07 06:55:33 UTC
Committed revision 1608350.

This is the only commit relevant for / fixing this BZ.

Comment 4 Justin Ross 2014-10-24 12:26:47 UTC

*** This bug has been marked as a duplicate of bug 1086816 ***


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