Project

General

Profile

Bug #34670

Multi-page listing when adding repositories to Content Views confuses the number of repositories to add

Added by Samir Jha 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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.

Associated revisions

Revision 29bf01ba (diff)
Added by Samir Jha 3 months ago

Fixes #34670 - Cross page bulk select for repository tab (#10029)

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to Samir Jha
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/10029 added

#2 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases Katello 4.5.0 added

#3 Updated by Samir Jha 3 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ryan Verdile 3 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 4.5.0
  • Subject changed from Multi-page listing when adding repositories to Content Views confuses the number of repositories to add to Multi-page listing when adding repositories to Content Views confuses the number of repositories to add

Also available in: Atom PDF