Bug 488348

Summary: ActivationKey creation displays base channels twice
Product: Red Hat Satellite 5 Reporter: John Matthews <jmatthew>
Component: WebUIAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: John Matthews <jmatthew>
Severity: medium Docs Contact:
Priority: low    
Version: 530CC: bperkins, mzazrivec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sat530 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 20:33:55 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:
Bug Depends On:    
Bug Blocks: 456985    

Description John Matthews 2009-03-03 20:25:16 UTC
Description of problem:
Create a new activationkey, select a basechannel.
Notice how each basechannel is listed twice.

Version-Release number of selected component (if applicable):
Satellite-5.3.0-RHEL5-re20090227.1-i386-embedded-oracle.iso

How reproducible:
Always

Steps to Reproduce:
1. Create new activation key
2. Assign a base-channel and notice drop down for "Base Channel" lists each channel twice
  
Actual results:
Each base channel is listed twice

Expected results:
Drop down choices should contain base channel only once.

Additional info:

Comment 1 Jay Dobies 2009-03-06 16:41:25 UTC
Commit: 4116cdd3be5f4367826a6d7e1ff8ebd32b046223

Channel.hbm.xml
The issue was in the way we retrieve custom base channels; it was returning Red Hat channels as well.

Changed the findCustomBaseChannels query to use the org_id from the rhnChannel table.

Comment 2 John Matthews 2009-03-24 21:09:57 UTC
ISO: Satellite-5.3.0-RHEL5-re20090323.0-i386-embedded-oracle.iso
Verified

Comment 3 Milan Zázrivec 2009-08-27 13:09:32 UTC
Verified in stage -> RELEASE_PENDING

Comment 4 Brandon Perkins 2009-09-10 20:33:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html