Bug 2084453

Summary: Edit PodDisruptionBudget page sometimes takes user to not synced YAML view
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Cyril <cajieh>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact: Olivia Payne <opayne>
Priority: unspecified    
Version: 4.11CC: cajieh, jhadvig, opayne, yapei
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* Previously, there was a coding error, yaml that was not synced was occasionally displayed to users. With this update, synced yaml always displays. (link:https://bugzilla.redhat.com/show_bug.cgi?id=2084453[*BZ#2084453*]
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:48:48 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:
Bug Depends On:    
Bug Blocks: 2113962    
Attachments:
Description Flags
Labels are truncated none

Description Yadan Pei 2022-05-12 07:48:13 UTC
Description of problem:
sometimes clicking 'Edit PodDisruptionBudget' will redirect user a not completed YAML view page

Version-Release number of selected component (if applicable):
4.11.0-0.nightly-2022-05-11-054135

How reproducible:
Most times

Steps to Reproduce:
1. goes to some workloads details page, for example 
/k8s/ns/openshift-apiserver/deployments/apiserver
/k8s/ns/openshift-oauth-apiserver/deployments/apiserver
2. Call 'Edit PodDisruptionBudget' action in the actions dropdown

Actual results:
in my tryings, 'Edit PodDisruptionBudget' page takes me to YAML view most times, in the YAML view, only namespace field is correctly set with current selected project, if I switch to Form view and switch back to YAML view again, all settings will be synced successfully

Expected results:
it looks like Form view has all correct settings about PDB so we may always redirect user to Form view when opening 'Edit PodDisruptionBudget' page

Additional info:

Comment 3 Cyril 2022-06-17 12:30:19 UTC
*** Bug 2078568 has been marked as a duplicate of this bug. ***

Comment 4 Cyril 2022-06-17 12:31:46 UTC
*** Bug 2078601 has been marked as a duplicate of this bug. ***

Comment 5 Cyril 2022-06-17 12:34:22 UTC
*** Bug 2079317 has been marked as a duplicate of this bug. ***

Comment 7 Yadan Pei 2022-06-20 07:23:21 UTC
Created attachment 1891239 [details]
Labels are truncated

'Labels' value are truncated when switching between Form and YAML

this is checked against 4.11.0-0.nightly-2022-06-18-081846

Comment 10 Yadan Pei 2022-08-01 06:11:31 UTC
now 'Create PodDisruptionBudget' and 'Edit PodDisruptionBudget' always takes user to Form view

verified on 4.12.0-0.nightly-2022-07-31-185642

Comment 13 errata-xmlrpc 2023-01-17 19:48:48 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: OpenShift Container Platform 4.12.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:7399