Bug 485039 - API documentation for channel.software.removePackages
Summary: API documentation for channel.software.removePackages
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Brad Buckingham
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 456996
TreeView+ depends on / blocked
 
Reported: 2009-02-11 10:11 UTC by Jan Hutař
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:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2009-02-11 10:11:14 UTC
Description of problem:
API documentation for channel.software.removePackages says it accepts array of IDs: "id of a package to add to the channel." - should be "remove" IMO :-)


Version-Release number of selected component (if applicable):
Satellite-5.3.0-RHEL5-re20090206.1

Comment 1 Brad Buckingham 2009-02-12 17:38:37 UTC
git commit: c325982d81f22e5bbea1cbb3b9b3d7a5d1171c32

Comment 2 Jan Hutař 2009-03-30 08:59:51 UTC
VERIFYED on Satellite-5.3.0-RHEL5-re20090320.0-x86_64:

https://pipa02.englab.brq.redhat.com/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#removePackages

Now it states:

int - packageId - id of a package to remove from the channel.

Comment 3 John Sefler 2009-08-26 14:17:17 UTC
Verified on staged (Satellite-5.3.0-RHEL5-re20090724.0) with updates from Aug 20, 2009

click About|Help > API > channel.software > removePackages

https://sun-x4200-01.rhts.bos.redhat.com/rhn/apidoc/handlers/ChannelSoftwareHandler.jsp#removePackages

 Method: removePackages
Description:
Removes a given list of packages from the given channel.

Parameters:

    * string sessionKey
    * string channelLabel - target channel.
    * array:
          o int - packageId - id of a package to remove from the channel.

Returns:

    * int - 1 on success, exception thrown otherwise. 

moving to RELEASE_PENDING

Comment 4 Brandon Perkins 2009-09-10 19:54:31 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.