Bug 2073176

Summary: removing data in form does not remove data from yaml editor
Product: OpenShift Container Platform Reporter: cvogt
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: high    
Version: 4.11CC: aos-bugs, kjeeyar, nmukherj, viraj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:05:18 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 cvogt 2022-04-07 20:19:19 UTC
Description of problem:
After removing data in the form view, switching back to the yaml view continues to show the removed values.


Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-04-07-053433

How reproducible:


Steps to Reproduce:
1. create or edit a configmap
2. go to the form view
3. enter a key and value for data and binary data
4. switch to yaml view and observe the values are present (unnecessary step)
5. switch to form view
6. remove the data values by clicking the `- remove key/value` option
7. switch to yaml view

Actual results:
data values remain present in yaml


Expected results:
data values to be removed from yaml


Additional info:
Removing the data values in the form and saving the resource does indeed remove the values.

Comment 3 Vikram Raj 2022-04-22 11:40:39 UTC
Verified it on 4.11.0-0.nightly-2022-04-22-002610. And it works as expected.

Comment 5 errata-xmlrpc 2022-08-10 11:05:18 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: OpenShift Container Platform 4.11.0 bug fix and security 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-2022:5069