Bug 744158

Summary: mergePackages is not guaranteed to return path
Product: Red Hat Satellite 5 Reporter: Šimon Lukašík <slukasik>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 541   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-29 20:10:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 462714    

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.