Bug 803688 - class Queue overrides class Queue from Ruby Std-lib
Summary: class Queue overrides class Queue from Ruby Std-lib
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Petr Chalupa
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-15 12:31 UTC by Petr Chalupa
Modified: 2019-09-26 13:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-31 19:56:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Petr Chalupa 2012-03-15 12:31:42 UTC
Description of problem:
methods #empty? and #clear are overridden in katello implementation of Queue class. This can break any required gem depending on original Queue [1] implementation.

[1] http://www.ruby-doc.org/stdlib-1.8.7/libdoc/thread/rdoc/Queue.html

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


How reproducible:
this is only a precaution

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
rename katello's Queue so the two classes do not collide

Additional info:

Comment 1 Petr Chalupa 2012-03-30 12:20:09 UTC
fixed in 62c7c4b139834b3f078332d2ce281304943b0806

Comment 3 Mike McCune 2012-08-31 19:56:10 UTC
fixed in upstream, no QE or errata necessary.  closing


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