Bug 2063312 - Switching between YAML view and a web console form, not working for all resources.
Summary: Switching between YAML view and a web console form, not working for all resou...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Joe Caiani
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks: 2009709
TreeView+ depends on / blocked
 
Reported: 2022-03-11 18:39 UTC by Tom Dale
Modified: 2022-03-29 00:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-29 00:45:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tom Dale 2022-03-11 18:39:44 UTC
Description of problem:
Cannot toggle between yaml view and form view for all resources.

The 4.10 Release Notes state:
"Previously, changes were not retained when switching between YAML view and Form view on the web console. Additionally, after switching to YAML view, you could not return to Form view. With this update, you can now easily switch between YAML view and Form view on the web console without losing changes." - from https://docs.openshift.com/container-platform/4.10/release_notes/ocp-4-10-release-notes.html#ocp-4-10-networkobservability-switch

In 4.10.3 I see this toggle and automatic save functionality in operators custom resources but not deployments, pvcs, buildconfigs, etc. For these I see the old behavior where switching to yaml view from form does not retain changes and prevents from returning to form view.

If this is expected behavior and instead should be a bug against the docs, please reassign.


Version-Release number of selected component (if applicable):
4.10.3 , cluster running on IBM Z.


How reproducible:
Tested on 3 clusters seen on each.

Steps to Reproduce:
1. Open console. Click "PersistentVolumeClaims" (or any other resource with form functionality).
2. Click "Create PersistentVolumeClaim"  and type something in the name field.
3. Click "edit yaml" . This will reset the name field and not show toggle to return to form view.

Comment 1 Yadan Pei 2022-03-28 08:06:39 UTC
I understand that we ONLY support form & yaml sync for operators custom resources, for normal workloads pvc, pods etc, we didn't add support yet
  
For the release notes https://docs.openshift.com/container-platform/4.10/release_notes/ocp-4-10-release-notes.html#ocp-4-10-networkobservability-switch you are pointing at, it is targeted for NetworkPolicy

Comment 2 Tom Dale 2022-03-28 13:19:57 UTC
Ok, I hadn't realized that section in the release notes was a subsection only for networkpolicy, seemed like it is a general statement. Thanks for looking into this. From my side I'm fine with closing the bug.

Comment 3 Yadan Pei 2022-03-29 00:45:34 UTC
Thank you Tom!

I will close the bug and feel free to re-open if any issues : )


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