Project

General

Profile

Actions

Bug #34670

closed

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

Added by Samir Jha about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by The Foreman Bot about 2 years ago

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

Updated by The Foreman Bot almost 2 years ago

  • Fixed in Releases Katello 4.5.0 added
Actions #3

Updated by Samir Jha almost 2 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ryan Verdile almost 2 years ago

  • 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
  • Target version set to Katello 4.5.0
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF