Bug 1092382
Summary: | Perl client examples issues | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Zdenek Kraus <zkraus> | ||||
Component: | perl-qpid | Assignee: | Darryl L. Pierce <dpierce> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Zdenek Kraus <zkraus> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | dpierce, esammons, iboverma, jross, tross | ||||
Target Milestone: | 3.0 | Keywords: | EasyFix, Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | perl-qpid-0.22-12.el6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-01-22 15:27:30 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: | 450912, 853859 | ||||||
Attachments: |
|
This is fixed upstream in QPID-5732: https://svn.apache.org/r1591006 tested on RHEL 6.5 i686 && x86_64 with following packages: python-qpid-0.22-14.el6 qpid-proton-c-0.7-1.el6 qpid-cpp-server-devel-0.22-40.el6 qpid-cpp-server-ha-0.22-40.el6 qpid-jca-0.22-2.el6 qpid-cpp-server-0.22-40.el6 qpid-tools-0.22-12.el6 qpid-java-client-0.22-6.el6 qpid-qmf-debuginfo-0.22-31.el6 qpid-snmpd-debuginfo-1.0.0-16.el6 qpid-cpp-client-devel-docs-0.22-40.el6 qpid-cpp-client-0.22-40.el6 qpid-cpp-client-devel-0.22-40.el6 qpid-tests-0.22-15.el6 qpid-snmpd-1.0.0-16.el6 qpid-cpp-server-linearstore-0.22-40.el6 qpid-java-common-0.22-6.el6 qpid-java-example-0.22-6.el6 qpid-proton-debuginfo-0.7-1.el6 qpid-proton-c-devel-0.7-1.el6 python-qpid-qmf-0.22-31.el6 qpid-qmf-devel-0.22-31.el6 qpid-cpp-server-rdma-0.22-40.el6 qpid-cpp-server-xml-0.22-40.el6 qpid-jca-xarecovery-0.22-2.el6 perl-qpid-debuginfo-0.22-12.el6 qpid-qmf-0.22-31.el6 perl-qpid-0.22-12.el6 qpid-cpp-debuginfo-0.22-40.el6 qpid-cpp-client-rdma-0.22-40.el6 ruby-qpid-qmf-0.22-31.el6 works as expected. |
Created attachment 890685 [details] perl examples patch Perl client examples issues Description of problem: Perl examples hello_world.pl and map_receiver.pl incorrectly obtain posisional arguments. hello_world.pl differs from others in fetch where it not use a timeout = 1, it complicates documentation of these examples. Version-Release number of selected component (if applicable): perl-qpid-0.22-11 Steps to Reproduce: 1. perl /usr/share/doc/perl-qpid-0.22/examples/hello_world.pl "localhost:5672" "amq.direct" 2. perl /usr/share/doc/perl-qpid-0.22/examples/map_receiver.pl "localhost:5672" "amq.direct" Actual results: [1] 2014-04-29 10:00:52 [Client] warning Exception received from broker: not-found: Queue not found: localhost:5672 (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/QueueRegistry.cpp:127) [caused by 2 \x08:\x01] Queue localhost:5672 does not exist at /usr/lib/perl5/vendor_perl/qpid/messaging/Session.pm line 314. 2014-04-29 10:00:52 [Client] warning Connection [[::1]:54739-localhost:5672] closed [2] 2014-04-29 10:01:17 [Client] warning Exception received from broker: not-found: Queue not found: localhost:5672 (/builddir/build/BUILD/qpid-0.22/cpp/src/qpid/broker/QueueRegistry.cpp:127) [caused by 2 \x08:\x01] Queue localhost:5672 does not exist at /usr/lib/perl5/vendor_perl/qpid/messaging/Session.pm line 314. 2014-04-29 10:01:17 [Client] warning Connection [[::1]:54740-localhost:5672] closed Expected results: the queue is takes from second positional argument Additional info: