Bug 487010 - channel.listSoftwareChannels deprecated return attributes mixed up
Summary: channel.listSoftwareChannels deprecated return attributes mixed up
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Sayli Karmarkar
URL:
Whiteboard:
Depends On:
Blocks: 456996
TreeView+ depends on / blocked
 
Reported: 2009-02-23 17:08 UTC by Justin Sherrill
Modified: 2009-09-10 19:54 UTC (History)
2 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 19:54:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2009-02-23 17:08:39 UTC
At some point we removed the deprecated code in channel.software.listAllChannels and accidentally removed the non-deprecated code some how.  We need to fix this.  

Documentation in 5.1:

    *  struct (channel)
          o string "label"
          o string "name"
          o string "parent_label"
          o string "end_of_life"
          o string "arch"
          o string "channel_label" (deprecated)
          o string "channel_name" (deprecated)
          o string "channel_parent_label" (deprecated)
          o string "channel_end_of_life" (deprecated)
          o string "channel_arch" (deprecated)



Current documentation: 

struct - channel

    * string "channel_label"
    * string "channel_name"
    * string "channel_parent_label"
    * string "channel_end_of_life"
    * string "channel_arch"



Will fix the docs and the call to just be:
    * string "label"
    * string "name"
    * string "parent_label"
    * string "end_of_life"
    * string "arch"

Comment 1 Justin Sherrill 2009-02-23 17:14:41 UTC
err that was listSoftwareChannels  and not listAllChannels

Comment 2 Justin Sherrill 2009-02-23 17:24:22 UTC
commit	2503922096f41b455d06aa15f366045afbc4c26e

tree	a71e164a24695414cf61c486a14c28b72655ea2e	tree | snapshot

parent	5dec5f6075228f23f75f722b6f81780d0d76a036	commit | diff

Comment 3 Sayli Karmarkar 2009-04-07 20:25:25 UTC
verified and testcase updated.

Comment 4 Steve Salevan 2009-08-25 21:14:11 UTC
RELEASE_PENDING from latest Stage build...  documentation and return values check out.

Comment 5 Brandon Perkins 2009-09-10 19:54:36 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


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