Bug 683831

Summary: API call channel.software.getDetails(key, CHANNEL) returns incorrect yumrepo_* values
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 540CC: cperry
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: 2014-07-04 13:24:52 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 Jan Hutař 2011-03-10 13:13:35 UTC
Description of problem:
Now we can have multiple yum repos assigned to the channel, but API call channel.software.getDetails(key, CHANNEL) returns values only for one of them.


Version-Release number of selected component (if applicable):
satellite-schema-5.4.0.9-1.el5sat


How reproducible:
always


Steps to Reproduce:
1. Create 2 yum repos and attach them to the channel
2. info = client.channel.software.getDetails(key, CHANNEL)
   print info['yumrepo_label']
   print info['yumrepo_last_sync']
   print info['yumrepo_source_url']


Actual results:
When I have 2 repos assigned to my channel, API call returns:
yumrepo_label: rpmfusion-free-el-updates-6-x86_64
yumrepo_last_sync: 
yumrepo_source_url: http://download1.rpmfusion.org/free/el/updates/6/x86_64/


Expected results:
These keys should be removed from output or array should be returned or something. Or maybe marked as obsoleted in the docs.