Bug 786167 - ruby QMFv1 console uses puts
Summary: ruby QMFv1 console uses puts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 3.0
: ---
Assignee: Darryl L. Pierce
QA Contact: Irina Boverman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-31 16:01 UTC by Matthew Farrellee
Modified: 2015-06-22 00:07 UTC (History)
5 users (show)

Fixed In Version: qpid-qmf-0.22-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-24 15:03:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Apache JIRA QPID-3968 0 None None None Never
Red Hat Product Errata RHEA-2014:1296 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging 3.0 Release 2014-09-24 19:00:06 UTC

Description Matthew Farrellee 2012-01-31 16:01:33 UTC
Description of problem:

QMFv1 ruby console library is writing to stdout.


Version-Release number of selected component (if applicable):

ruby-qpid-qmf-0.14-2.el5


How reproducible:

100%


Steps to Reproduce:
1. Use a cli ruby console, see "Console Connection Established..."

  
Actual results:


Expected results:

No stdout from library.


Additional info:

There are 11 instances of this...

$ grep puts /usr/lib/ruby/site_ruby/1.8/qmf.rb
            puts "Event Exception: #{ex}"
              puts ex.backtrace
          puts "Exception caught in callback: #{ex}"
            puts ex.backtrace
      puts "Console Connection Established..."
      puts "Console Connection Lost"
      puts "Console Session Lost"
      puts "Unexpected RECV Event" if not @operational
      puts "Agent Connection Established..."
      puts "Agent Connection Lost"
      puts "Agent Session Lost"

Comment 1 Darryl L. Pierce 2012-04-23 18:48:06 UTC
There is a fix posted upstream.

Comment 5 Darryl L. Pierce 2012-10-11 19:49:16 UTC
This fix is pushed into the upstream project now.

Comment 8 errata-xmlrpc 2014-09-24 15:03:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-1296.html


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