Bug 2215954

Summary: ACS error message contains duplicate words
Product: Red Hat Satellite Reporter: Ladislav Vasina <lvasina>
Component: Alternate Content SourcesAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: qjames, rlavi, sajha, sbible, zhunting
Target Milestone: 6.14.0Keywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.9.0.4-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:51 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 error message with duplicit word none

Description Ladislav Vasina 2023-06-19 13:23:51 UTC
Created attachment 1971564 [details]
Screenshot showing error message with duplicit word

Created attachment 1971564 [details]
Screenshot showing error message with duplicit word

Description of problem:
When you try to create a simplified ACS and add a product that does not have a file repository error message is shown.

i.e.:
*************************************************************************************
Validation failed: Product The product Red Hat Enterprise Linux Server has no file repositories with upstream URLs to add to the alternate content source.
*************************************************************************************


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. Add new simplified ACS
2. Have an active product that does not have a file repository and try to add it to a new ACS (i.e. RHEL)
3. Observe the error

Actual results:
Word "Product" is appearing twice in the error message

Expected results:
Word "Product" should appear only once in the error message

Additional info:
See attached screenshot

Comment 1 Lucy Fu 2023-07-13 18:00:47 UTC
Created redmine issue https://projects.theforeman.org/issues/36590 from this bug

Comment 2 Bryan Kearney 2023-07-13 20:03:18 UTC
Upstream bug assigned to lufu

Comment 3 Bryan Kearney 2023-07-13 20:03:20 UTC
Upstream bug assigned to lufu

Comment 4 Bryan Kearney 2023-07-17 16:03:27 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36590 has been resolved.

Comment 6 Sam Bible 2023-07-21 18:36:51 UTC
Verified on: 6.14 - Snap 8 

Steps to verify: 
1. Create a Simplified ACS
2. Add a product to this ACS of file type, that doesn't contain any File content, and submit. 

Expected Results:
The error doesn't contain any typos. 

Actual Results:
The error doesn't contain any typos.

Comment 9 errata-xmlrpc 2023-11-08 14:19:51 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