Bug 203406 - Change Config Channel name to be system name for local channels.
Summary: Change Config Channel name to be system name for local channels.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Retired
Component: RHN/Web Site
Version: rhn420
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Grant Gainey
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks: rhn500h-config-mgmt
TreeView+ depends on / blocked
 
Reported: 2006-08-21 18:40 UTC by Ken Ganong
Modified: 2007-04-18 17:47 UTC (History)
1 user (show)

Fixed In Version: rhn500h
Clone Of:
Environment:
Last Closed: 2007-03-13 02:31:58 UTC
Embargoed:


Attachments (Terms of Use)

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.


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