Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.