Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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