Bug 744158 - mergePackages is not guaranteed to return path
Summary: mergePackages is not guaranteed to return path
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
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-07 10:07 UTC by Šimon Lukašík
Modified: 2015-05-29 20:10 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Šimon Lukašík 2011-10-07 10:07:00 UTC
Description of problem:
The API documentation of call

    channel.software.mergePackages

promises to return 'path' field in package structure. However, the 'path'
is returned only, when rpm package is available on filesystem.

We may want to specify in the documentation that the fielf 'path' is optional,
like it is specified in other parts of documentation.

Version-Release number of selected component (if applicable):
spacewalk-java-1.2.39-101

How reproducible:
deterministic

Steps to Reproduce:
1. # satellite-sync -c rhn-tools-rhel-x86_64-server-6 --no-rpms
2. channel.software.mergePackages(key, rhn-tools-rhel-x86_64-server-6, my-channel)
3.

Additional info:
The API call channel.software.listPackagesWithoutChannel might be affected
as well.


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