Bug 2073176 - removing data in form does not remove data from yaml editor
Summary: removing data in form does not remove data from yaml editor
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.11.0
Assignee: Karthik Jeeyar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-07 20:19 UTC by cvogt
Modified: 2022-08-10 11:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:05:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11328 0 None open Bug 2073176: Fix key/value pair removal issue in configmap form yaml switcher 2022-04-13 09:38:43 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:05:41 UTC

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


Note You need to log in before you can comment on or make changes to this bug.