Bug 818997 - API call channel.listSoftwareChannels only works for main organization
Summary: API call channel.listSoftwareChannels only works for main organization
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: API
Version: 1.7
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Dimitar Yordanov
URL:
Whiteboard:
Depends On:
Blocks: 820994 space18
TreeView+ depends on / blocked
 
Reported: 2012-05-04 14:45 UTC by Franky Van Liedekerke
Modified: 2012-11-01 16:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 820994 (view as bug list)
Environment:
Last Closed: 2012-11-01 16:17:09 UTC
Embargoed:


Attachments (Terms of Use)

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


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