Bug 803688

Summary: class Queue overrides class Queue from Ruby Std-lib
Product: Red Hat Satellite Reporter: Petr Chalupa <pchalupa>
Component: Content ManagementAssignee: Petr Chalupa <pchalupa>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: mmccune, pchalupa, tsanders
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-31 19:56:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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