Bug 743005 - listChannelsConsumed return value and the documentation mismatch
Summary: listChannelsConsumed return value and the documentation mismatch
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 541
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-10-03 14:48 UTC by Šimon Lukašík
Modified: 2015-05-29 20:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 20:09:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Šimon Lukašík 2011-10-03 14:48:08 UTC
Description of problem:
The API call org.trust.listChannelsConsumed returns:

 * array
    * struct
      * int "systems"
      * int "id"
      * int "packages"
      * string "name"
      * string "provider_name"

while the documentation reads:

 * array:
    * struct - channel info
       * int "channel_id"
       * string "channel_name"
       * int "packages"
       * int "systems"

Version-Release number of selected component (if applicable):
RHN Satellite 5.4.1
spacewalk-java-1.2.39-101.el6sat.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. call the api
2.
3.

Additional info:
This problem may actually also affects other api like 

  org.trust. listChannelsProvided

as it internally uses same data structures and same query
(trust_channel_consume).


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