Bug 1509415

Summary: Select Organization dialog only showing first 20 organizations
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Katello QA Contact: Peter Ondrejka <pondrejk>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: medium CC: bbuckingham, dlobatog, pcreech, walden
Version: 6.3.0Keywords: PrioBumpQA, Triaged
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 17:11:51 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:

Description Roman Plevka 2017-11-03 17:55:54 UTC
Description of problem:
the 'select organization' dialog on katello pages only lists first 20 organizations.
This is probably due the API call, which by default respects the per_page = 20 option.

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

How reproducible:


Steps to Reproduce:
1. create 20+ orgs
2. navigate to a katello page (e.g. activation keys)
3. switch to 'any org' context
4. the 'select org' dialog appears

Actual results:
only first 20 organizations (alphabetically) listed

Expected results:
all of them listed, or "load more" option visible that would actually load another page of orgs.

Additional info:

Comment 2 Daniel Lobato Garcia 2017-11-21 11:48:01 UTC
This is a problem in recent versions of Foreman too, thanks Roman. I'll link this to Redmine too.

Comment 3 Daniel Lobato Garcia 2017-11-21 11:48:53 UTC
Created redmine issue http://projects.theforeman.org/issues/21719 from this bug

Comment 4 Walden Raines 2017-11-28 20:13:08 UTC
PR: https://github.com/Katello/katello/pull/7090

Comment 5 Satellite Program 2017-11-29 23:22:28 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21719 has been resolved.

Comment 6 Peter Ondrejka 2017-12-04 14:39:17 UTC
Verified on Sat 6.3 snap 27, all organizations are now listed in the above scenario

Comment 7 Bryan Kearney 2018-02-21 17:11:51 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336