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 1631957 - cannot select ALL erratas to content hosts, only one PAGE of erratas AT A TIME [6.3]
Summary: cannot select ALL erratas to content hosts, only one PAGE of erratas AT A TIM...
Keywords:
Status: CLOSED DUPLICATE of bug 1405528
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.3.3
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: Unspecified
Assignee: sat6-team-ux
QA Contact: jcallaha
URL:
Whiteboard:
: 1631960 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-22 14:35 UTC by Reartes Guillermo
Modified: 2022-03-13 15:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-21 18:05:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
content host selection (21.62 KB, image/png)
2018-09-22 14:36 UTC, Reartes Guillermo
no flags Details
content host selection 2 (46.03 KB, image/png)
2018-09-22 14:37 UTC, Reartes Guillermo
no flags Details
first page of erratas (120.68 KB, image/png)
2018-09-22 14:37 UTC, Reartes Guillermo
no flags Details
first page of erratas, selected (130.86 KB, image/png)
2018-09-22 14:37 UTC, Reartes Guillermo
no flags Details
first page of erratas, bottom (15.71 KB, image/png)
2018-09-22 14:38 UTC, Reartes Guillermo
no flags Details
second page, top, in the red circle, the problematic already selected checkbox (116.80 KB, image/png)
2018-09-22 14:39 UTC, Reartes Guillermo
no flags Details
foreman-debug (14.89 MB, application/x-xz)
2018-09-22 14:56 UTC, Reartes Guillermo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27648 0 High Duplicate cannot select ALL erratas to content hosts, only one PAGE of erratas AT A TIME [6.3] 2021-02-05 14:06:04 UTC
Red Hat Knowledge Base (Solution) 3833351 0 Configure None Unable to select all errata on Red Hat Satellite 6 GUI. 2019-05-13 16:45:40 UTC

Description Reartes Guillermo 2018-09-22 14:35:21 UTC
Description of problem:

In HOSTS -> CONTENT HOSTS, when selecting hosts and trying to apply all installable erratas (with SELECT ACTION -> Manage Errata, with selected hosts) one cannot select all erratas.
Normally there are around 300 erratas on a new installed system. One can increase the page size up to 100 elements. That makes the minimum of 3 pages possible.
The issue if that selecting the total checkbox, it selects ONLY the current page.
When one switches to the NEXT PAGE, the selected items are KEPT SELECTED (that is OK) but the total checkbox is ALREADY SELECTED, so it deselects the previous page when clicked.
IF one selects any other errata individually on the next page, it adds up to the total. Currently it is not possible to select x content hosts and apply ALL erratas to them with this issue.

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

How reproducible:
always

Steps to Reproduce:
1. Go to HOSTS -> CONTENT HOSTS
2. Select HOSTS to apply errata (EXAMPLE:  lifecycle_environment =  PRE-PROD) 
3. In the example i selected a test content host (the only one in PRE-PROD lifecycle_environment)
4. Click Select Action ->  MANAGE ERRATA
5. Click the page total checkbox, all page erratas are selected (using 100 page results, best case [default=20]) 100/300 selected. (OK)
6. Go to the bottom of the page ... (scroll down... why?)
7. Go to next page
8. Go to the top of the page ... (scroll up ... why?)
9. One will find the page total checkbox ALREADY checked instead of not checked...
10. Clicking it will UN-select the previous errata selected from the previous pages.... 

Actual results:
When selecting which errata to apply to selected content hosts, one cannot select ALL erratas in ONE CLICK.
When going to the next page, the total checkbox is KEEPT SELECTED instead of NOT SELECTED, so you cannot click it again to add the page to the total.

Expected results:
Having ONE SUPER-TOTAL checkbox for ALL erratas (currently this does not exists)
Fix the PAGE TOTAL checkbox behavior when switching pages so that one can add at least the current page erratas to the total. (this is not working/bugged)

Additional info:

See attached screenshots.

Comment 1 Reartes Guillermo 2018-09-22 14:36:02 UTC
Created attachment 1485965 [details]
content host selection

Comment 2 Reartes Guillermo 2018-09-22 14:37:08 UTC
Created attachment 1485966 [details]
content host selection 2

Comment 3 Reartes Guillermo 2018-09-22 14:37:31 UTC
Created attachment 1485967 [details]
first page of erratas

Comment 4 Reartes Guillermo 2018-09-22 14:37:57 UTC
Created attachment 1485968 [details]
first page of erratas, selected

Comment 5 Reartes Guillermo 2018-09-22 14:38:21 UTC
Created attachment 1485969 [details]
first page of erratas, bottom

Comment 6 Reartes Guillermo 2018-09-22 14:39:59 UTC
Created attachment 1485970 [details]
second page, top, in the red circle, the problematic already selected checkbox

one cannot add ALL the page erratas.
Clicking the red circled checkbox will UNSELECT the previous page instead of SELECTING and ADDING this page to the total.

If one select any individual erratas, they ARE ADDED to the total

Comment 7 Reartes Guillermo 2018-09-22 14:56:18 UTC
Created attachment 1485990 [details]
foreman-debug

Comment 8 Brad Buckingham 2018-09-24 18:48:57 UTC
*** Bug 1631960 has been marked as a duplicate of this bug. ***

Comment 9 Brad Buckingham 2018-09-24 19:05:11 UTC
The behavior described here is similar to bug 1405528; however, the difference is:
- bug 1405528 is related to the behavior on a single content host (e.g. select the host and then errata)
- this bug is related to the 'Manage Errata' which may be used when managing multiple hosts at once.


Assigning this one over to the UI team as this behavior may impact multiple scenarios and may have been introduced through a combination of removal of nutupane and infinite scroll.

Comment 14 Walden Raines 2019-08-16 22:00:51 UTC
Created redmine issue https://projects.theforeman.org/issues/27648 from this bug

Comment 15 Walden Raines 2019-08-21 18:05:48 UTC
Duplicate of bug #1405528.

*** This bug has been marked as a duplicate of bug 1405528 ***


Note You need to log in before you can comment on or make changes to this bug.