Bug 818997

Summary: API call channel.listSoftwareChannels only works for main organization
Product: [Community] Spacewalk Reporter: Franky Van Liedekerke <liedekef>
Component: APIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Dimitar Yordanov <dyordano>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.7CC: dyordano, msuchy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 820994 (view as bug list) Environment:
Last Closed: 2012-11-01 16:17:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 820994, 871344    

Description Franky Van Liedekerke 2012-05-04 14:45:53 UTC
Description of problem:
The spacewalk API call channel.listSoftwareChannels only works for the "main" organization, if you share the channels with other organizations, the call doesn't return these channels when using a login from one of those organizations


Version-Release number of selected component (if applicable):
1.7

How reproducible:
Always

Steps to Reproduce:
1. create a bunch of channels in your master organizaition
2. create a second org
3. share the channels to the second org
4. using the API, call channel.listSoftwareChannels from the second org, it returns empty
  
Actual results:
empty list

Expected results:
list of channels returned

Comment 1 Tomas Lestach 2012-05-11 13:59:48 UTC
I've rewritten channel.listSoftwareChannels ...

spacewalk.git: e8490f8317402a5f142ed9df406336e2afc842bd

Comment 2 Jan Pazdziora 2012-10-30 19:22:18 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 3 Jan Pazdziora 2012-11-01 16:17:09 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18