Bug 683831 - API call channel.software.getDetails(key, CHANNEL) returns incorrect yumrepo_* values
Summary: API call channel.software.getDetails(key, CHANNEL) returns incorrect yumrepo_...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 540
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-03-10 13:13 UTC by Jan Hutař
Modified: 2014-07-04 13:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-04 13:24:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

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.


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