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.
DescriptionKaroly "Charlie" VEGH
2020-10-28 08:34:32 UTC
Created attachment 1724733[details]
screenshot 1
Description of problem:
Multi-page listing when adding repositories to Content Views confuses the number of repositories to add
Version-Release number of selected component (if applicable):
How reproducible: 100%
Steps to Reproduce:
1. Created a Content View.
2. Adding repositories to it.
List of repositories show up, 20 per page. I have two pages.
3. On the first page, "1 of 2", I mark the checkboxes of 3 repositories.
That goes well, it says "3 of 23 selected" (see screenshot 1).
Then I scroll down, and click next page in the repository list ">" to move on to "2 of 2". (screenshot 2)
4. On this second page of the list I mark an additional repository to be added
Satellite confirms this by saying "4 of 23 selected".
5. I click "Add repositories".
Actual results:
Only the last repository (selected on the second page) is added to the CV, but when I click then "List/Remove" to see the list of added repositories, the other 20 repos are not displayed at all. (screenshot 4).
Additionally: if I now navigate through the menu: "Menu --> Content --> Content Views --> $NAME_OF_CV --> Yum Content --> Repositories" then Satellite gos straight to the "Page 2" view of the repository lists ( https://satellite/content_views/2/repositories/yum/available?page=2&per_page=20 ) , which can be confusing.
Expected results:
All marked repositories on both pages 1 and 2 shall be added straight to the CV.
Additional info:
Workaround for the bug: Add first the repositories on page 1 of 2, then move on to page 2 of 2 and add the repositories from there. That worked just fine.
Comment 1Karoly "Charlie" VEGH
2020-10-28 08:35:30 UTC
This page (and most selection pages) does not support a multi-page select. The real bug here is that the count is incorrect. Making this page support multi-select would probably be considered an enhancement. All of the content views section is being redesigned for satellite 7.0 or 7.1 release, although the new implementation is similar in that it doesn't support multi-page selection.
We can look at fixing the count
Followed the steps in description.
Expected result:
All selected repos should be added to cv
Actual result:
All selected repos are added to cv.
Verified on 6.12.0 snap 2
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 (Important: Satellite 6.12 Release), 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-2022:8506