Bug 203406

Summary: Change Config Channel name to be system name for local channels.
Product: [Retired] Red Hat Network Reporter: Ken Ganong <kganong>
Component: RHN/Web SiteAssignee: Grant Gainey <ggainey>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn420CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn500h Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-13 02:31:58 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: 192224    

Description Ken Ganong 2006-08-21 18:40:10 UTC
The issue:
Localizing the names of local channels is difficult and requires awkward table
joins because the local config channel's are automatically created and populate
their name and label with English strings.

The solution:
Set the name of every local channel to the name of the system subscribed to it.
Set the label of every local channel to the id of the system subscribed to it.

The collateral:
There is a unique constraint on rhnConfigChannel for org_id, label, name
and there is a unique index for org_id, label.
Delete both of those and create a unique index for org_id, label, type_id.

The collateral reason:
First, both unique contraint and index existing is useless, the constraint will
always be true if the index allows it.
Second, there needs to be a type_id as part of the uniqueness. We are
automatically creating the local config channels, so if a user just happened to
create a global channel with the exact same label in the same org, our automatic
creation would never work, preventing a system from having a local channel.

Comment 1 Ken Ganong 2006-10-09 20:05:05 UTC
Changing status to modified for a bunch of my bugs.

Comment 2 Ken Ganong 2006-11-13 17:17:22 UTC
Moving bugs to ON_DEV

Comment 3 Ken Ganong 2006-12-05 14:55:05 UTC
Moving my bugs to ON_QA

Comment 4 Ken Ganong 2006-12-15 20:54:55 UTC
Passing on my config management bugs to ggainey

Comment 5 Preethi Thomas 2007-01-11 15:53:26 UTC
Marking verified as per conv with ggainey. 
Local Channels are  not displayed in the web UI anymore.

Comment 6 Preethi Thomas 2007-03-07 17:27:58 UTC
verified in stage.

Comment 7 Brandon Perkins 2007-03-13 02:31:58 UTC
Closed in the rhn500h Release.