Bug 2212812

Summary: Incorrect aria-label and component id in the alternate content source modal for editing credentials certificates
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: unspecified    
Version: 6.14.0CC: 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:28 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 aria labels and ids none

Description Ladislav Vasina 2023-06-06 12:37:15 UTC
Created attachment 1969292 [details]
Screenshot showing incorrect aria labels and ids

Created attachment 1969292 [details]
Screenshot showing incorrect aria labels and ids

Description of problem:
When you add custom or RHUI ACS to the satellite and try to edit its credentials, there are incorrect aria labels and data-ouia-component-ids
for "SSL client key" FormSelect in the edit modal. 

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 custom or RHUI ACS added to the satellite
2. Click on that ACS in the ACS table
3. Try to edit credentials 
4. Select the Radio button Content credentials
5. Inspect the "SSL client key" FormSelect

Actual results:
Form Select for "SSL client key" has the same aria-label and data-ouia-component-id as "SSL CA certificate" form select at the top of the modal.

Expected results:
Form Select for "SSL client key" should have its own aria-label and data-ouia-component-id. 
aria-label = "ssl_client_key_select", 
data-ouia-component-id = "ssl-client-key-select"

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

Comment 1 Samir Jha 2023-06-15 18:53:10 UTC
Created redmine issue https://projects.theforeman.org/issues/36512 from this bug

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

Comment 5 Ladislav Vasina 2023-06-30 07:57:26 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:28 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