Bug 496908 - Errata is_public logic is backwards
Summary: Errata is_public logic is backwards
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: RHN Stable
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sebastian Skracic
QA Contact: Red Hat Network Quality Assurance
URL: https://rhn.redhat.com/errata/RHEA-20...
Whiteboard: US1575
Depends On:
Blocks: rhn-sprint41
TreeView+ depends on / blocked
 
Reported: 2009-04-21 15:51 UTC by James Bowes
Modified: 2013-01-10 10:02 UTC (History)
5 users (show)

Fixed In Version: 5.2.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-14 22:03:07 UTC
Embargoed:


Attachments (Terms of Use)

Description James Bowes 2009-04-21 15:51:02 UTC
When deciding if an errata is public or not, the perl code says "if this errata belongs to any private channels, it's not public". The logic should really be "if this errata belongs to any public channels, it's public". See modules/rhn/RHN/DB/Errata.pm, sub is_public

This affects the public errata pages, specifically RHBA-2008-0591, which is in the rhel 5 client channel, and thus viewable in the rhel 5 client errata list, but returns 'not found' when you click on it.

Comment 1 Sebastian Skracic 2010-03-03 16:50:55 UTC
An example of non-accessible erratum:  Check the errata available at

http://rhn.redhat.com/errata/rhn-tools-errata.html

Click on 'KVM Guest management' erratum:
http://rhn.redhat.com/errata/RHEA-2009-1639.html 

yields "Page Not Found".

Comment 2 Sebastian Skracic 2010-03-04 12:01:49 UTC
Fixed in 53ad63dd6619cd539e0c4099617846e7fbbf12f2.

Comment 3 Sebastian Skracic 2010-03-04 12:15:15 UTC
And on WEBDEV.

Comment 4 Denise Hughes 2010-03-25 00:49:53 UTC
Verified on webdev on 3/5/10

Comment 5 Grant Gainey 2010-06-14 22:03:07 UTC
Addressed in 521


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