Bug 617738 - Inconsistency in struct content for channel.listSoftwareChannels & channel.software.getDetails
Summary: Inconsistency in struct content for channel.listSoftwareChannels & channel.so...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2010-07-23 20:19 UTC by Jérôme Fenal
Modified: 2014-07-04 13:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:25:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jérôme Fenal 2010-07-23 20:19:01 UTC
Description of problem:

One can see some inconsistency in object content between channel calls :
- channel.listSoftwareChannels : returns parent_label & arch
- channel.software.getDetails : returns parent_channel_label &
  arch_name
- channel.software.create : expects parentLabel & archLabel (but
  positioned parameters, not named parameters, but still confusing).

See:
https://$satname/rhn/apidoc/handlers/ChannelHandler.jsp#listSoftwareChannels
https://$satname/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#getDetails
https://$satname/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#create


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

Actual results:
As above.

Expected results:
Choose one term parent_label or parent_channel_label, and provide it in both calls, keeping alternatives for compatibility (and deprecate it).

Additional info:


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