Bug 2119112

Summary: subpaths field is mandatory while creating ACS in the UI
Product: Red Hat Satellite Reporter: Gaurav Talreja <gtalreja>
Component: Alternate Content SourcesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Gaurav Talreja <gtalreja>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.12.0CC: iballou, pcreech
Target Milestone: 6.12.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.5.0.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-16 13:35:21 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
ACS_Create_UI_subpaths none

Description Gaurav Talreja 2022-08-17 14:56:55 UTC
Created attachment 1905977 [details]
ACS_Create_UI_subpaths

Description of problem:


Version-Release number of selected component (if applicable):
Satellite 6.12.0 Snap 6.1

How reproducible:
Always

Steps to Reproduce:
1. Enable ACS lab feature
2. Navigate to Lab features -> Alternate Content Sources -> Add Source -> 4 URL & Paths
3.

Actual results:
subpaths field is mandatory

Expected results:
subpaths field shouldn't be mandatory

Additional info:

Comment 1 Ian Ballou 2022-08-17 18:08:06 UTC
This is fixed upstream, I'm not sure yet where the fix landed in the code though.

Comment 2 Ian Ballou 2022-08-17 18:33:51 UTC
This appears to be fixed by the same PR that fixes https://bugzilla.redhat.com/show_bug.cgi?id=2119124

Moving to POST.

Comment 4 Gaurav Talreja 2022-08-26 12:47:23 UTC
Verified.

Tested on Satellite 6.12.0 Snap 8.0
Version: katello-4.5.0-1.el8sat.noarch

Steps:
1. Enable ACS lab feature
2. Navigate to Lab features -> Alternate Content Sources -> Add Source -> 4 URL and paths
3. Add baseurl as https://reposerver.example.com:33333/test_subpath/ and nothing in subpath section

Observation:
Observe no asterisk mark on subpaths field and ACS is created without subpath

Comment 8 errata-xmlrpc 2022-11-16 13:35:21 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.12 Release), 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-2022:8506