Bug 2213486

Summary: Incorrect aria-label and component id in the alternate content source modal for editing Products
Product: Red Hat Satellite Reporter: Ladislav Vasina <lvasina>
Component: Alternate Content SourcesAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Ladislav Vasina <lvasina>
Severity: low Docs Contact:
Priority: medium    
Version: 6.14.0CC: ahumbe, pcreech, qjames, rlavi, sajha
Target Milestone: 6.14.0Keywords: AutomationBlocker, EasyFix, TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.9.0.1-1,rubygem-katello-4.9.0.1-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:36 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:
Attachments:
Description Flags
Screenshot showing incorrect ids and aria labels none

Description Ladislav Vasina 2023-06-08 10:52:30 UTC
Created attachment 1969739 [details]
Screenshot showing incorrect ids and aria labels

Description of problem:
When you add a simplified ACS to the satellite and try to edit its products, there are 
"Edit" and "Cancel" buttons in the edit modal.

"Edit" button has an aria-label:          "edit_acs_details"        (should be "edit_acs_products")
              has data-ouia-component-id: "edit-acs-details-submit" (should be "edit-acs-products-submit")

"Cancel" button has data-ouia-component-id: "edit-acs-smart-proxies-cancel" (should be "edit-acs-products-cancel")


Version-Release number of selected component (if applicable):
satellite-6.14.0-1stream.el8sat.noarch
foreman-3.7.0-0.5.rc2.el8sat.noarch
Red Hat Enterprise Linux release 8.8 (Ootpa)

How reproducible:
Every time

Steps to Reproduce:
1. Have ACS added to the satellite
2. Click on that ACS in the ACS table
3. Try to edit Products
4. Inspect the "Edit" and "Cancel" buttons

Actual results:
The "Edit" and "Cancel" buttons have incorrect aria-labels and data-ouia-component-ids.

Expected results:
The "Edit" and "Cancel" buttons should have its own aria-labels and data-ouia-component-ids.


Additional info:
See attached screenshot.
&
Similar to BZ2208161 and BZ2212740 and BZ2212812 and BZ2209938 and BZ2213190

Comment 1 Samir Jha 2023-06-15 19:24:30 UTC
Created redmine issue https://projects.theforeman.org/issues/36514 from this bug

Comment 2 Bryan Kearney 2023-06-16 00:03:32 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36514 has been resolved.

Comment 5 Ladislav Vasina 2023-06-30 07:53:19 UTC
VERIFIED

satellite-6.14.0-2.el8sat.noarch
foreman-3.7.0.1-1.el8sat.noarch
Red Hat Enterprise Linux release 8.8 (Ootpa)

Comment 8 errata-xmlrpc 2023-11-08 14:19:36 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818