Bug 454907 - the system.listBaseChannels method doesn't
the system.listBaseChannels method doesn't
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Backend (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Sebastian Skracic
Stephen Herr
Depends On:
Blocks: 457802
  Show dependency treegraph
Reported: 2008-07-10 14:00 EDT by Stephen Herr
Modified: 2008-09-25 09:04 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-09-25 09:04:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
test for api method (1.86 KB, application/x-perl)
2008-07-10 14:00 EDT, Stephen Herr
no flags Details

  None (edit)
Description Stephen Herr 2008-07-10 14:00:22 EDT
Description of problem:
The system.listBaseChannels api method is supposed to "Return a list of
subscribable base channels." What it actually returns is apparently a list of:
1) the current base channel
2) custom channels that you can subscribe to as the base channel
It should return all subscribable base channels so you can set a new one with
the setBaseChannel method. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. set base channel for server (in this example auto_test_2, 1012737455) to a
Red Hat channel, for example RHEL 4 AS
2. run attached script against server 
3. change base channel to a custom channel, for example GRGRHEL5Parent
4. run attached script again
Actual results:
The first time it will list RHEL 4 AS and GRGRHEL5Parent.
The second time it will only list GRGRHEL5Parent

Expected results:
Both times it should list all available base channels; the same as what you see
in the drop-down.

Additional info:
Comment 1 Stephen Herr 2008-07-10 14:00:22 EDT
Created attachment 311500 [details]
test for api method
Comment 2 Sebastian Skracic 2008-08-25 07:56:03 EDT
Fixed in r118963 - the content is now identical to the one displayed in the pulldown widget on SystemChannels.do page.
Comment 3 Stephen Herr 2008-08-26 13:06:05 EDT
verified in dev
Comment 4 Stephen Herr 2008-09-03 16:11:39 EDT
verified in qa

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