Bug 2065391

Summary: LCE and content view label resets when trying to delete the field names in "Upstream Foreman Server" tab
Product: Red Hat Satellite Reporter: Lai <ltran>
Component: Inter Satellite SyncAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.11.0CC: ahumbe, ehelms, lvrtelov
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.3.0.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:34:49 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:

Description Lai 2022-03-17 18:52:04 UTC
Description of problem:
Under "Upstream Foreman server" tab, there's two fields: Lifecycle Environment Label and Content view label.  If you try to delete those two fields, they reset to whatever their default is

Version-Release number of selected component (if applicable):
7.0 snap 13, rhel8

How reproducible:
100%

Steps to Reproduce:
1. Content -> Subscriptions -> Upstream Foreman server tab
2. Delete LCE field
3. Delete Content view label

Actual results:
You can't delete the entire field to enter something new.  It always reset to their default so you can't enter anything new.

Expected results:
User should be able to delete those fields and enter something complete new.

Additional info:

Comment 2 Samir Jha 2022-03-28 13:03:20 UTC
Created redmine issue https://projects.theforeman.org/issues/34687 from this bug

Comment 3 Brad Buckingham 2022-03-28 19:55:48 UTC
Moving to POST as upstream PR is merged.

Comment 5 Peter Ondrejka 2022-05-04 07:32:32 UTC
Verified on Satelite 6.11 sn 18, LCE and CV entries can be successfully updated under Subscriptions -> Manage Manifest -> CDN Configuration -> Upstream Foreman server

Comment 8 errata-xmlrpc 2022-07-05 14:34:49 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 (Moderate: Satellite 6.11 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:5498