Bug 617738 - Inconsistency in struct content for channel.listSoftwareChannels & channel.software.getDetails
Inconsistency in struct content for channel.listSoftwareChannels & channel.so...
Status: CLOSED DEFERRED
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API (Show other bugs)
530
All Linux
low Severity medium
: ---
: ---
Assigned To: Tomas Lestach
Red Hat Satellite QA List
:
Depends On:
Blocks: 462714
  Show dependency treegraph
 
Reported: 2010-07-23 16:19 EDT by Jérôme Fenal
Modified: 2014-07-04 09:25 EDT (History)
1 user (show)

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


Attachments (Terms of Use)

  None (edit)
Description Jérôme Fenal 2010-07-23 16:19:01 EDT
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.