Bug 2078601 - PDB: Inconsistent display of sample yaml for default user preferences
Summary: PDB: Inconsistent display of sample yaml for default user preferences
Keywords:
Status: CLOSED DUPLICATE of bug 2084453
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Cyril
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-25 18:22 UTC by Cyril
Modified: 2022-06-17 12:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-17 12:31:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Cyril 2022-04-25 18:22:57 UTC
Description of problem: If you submit your last form as YAML, the default user preferences keeps you on last used. When you go to create another PDB, you have a different YAML:




Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Click create pdb button, and switch to yaml view
`apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: ''
  namespace: default`
2. Click Create btn. A new pdb is created and it redirects to pdb list page
3. Again, click create btn. 
`apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: ''
  namespace: default
spec:
  selector: {}`

Actual results:
A different sample yaml is displayed.

Expected results:

Should display the same sample yaml
Additional info:

Comment 1 Cyril 2022-06-17 12:31:46 UTC
This issue has been addressed in PR - https://github.com/openshift/console/pull/11494

*** This bug has been marked as a duplicate of bug 2084453 ***


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