Bug 1789150

Summary: YAML snippets aren't showing up when editing resources, only on create
Product: OpenShift Container Platform Reporter: Samuel Padgett <spadgett>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: aos-bugs, bpeterse, hasha, jokerman, yapei
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1789139 Environment:
Version: 4.3.0-0.ci-2020-01-06-064249 Cluster ID: 81c71baf-8074-4b83-b502-7750c312bb3f Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:71.0) Gecko/20100101 Firefox/71.0
Last Closed: 2020-02-19 05:39:53 UTC Type: ---
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: 1789139    
Bug Blocks:    

Description Samuel Padgett 2020-01-08 21:37:47 UTC
+++ This bug was initially created as a clone of Bug #1789139 +++

ConsoleYAMLSamples with `snippet: true` should show up in the YAML editor for existing resources, not only on create. (Samples that don't have `snippet: true` should *not* show up for existing editors since they would replace the entire resource.)

Comment 2 shahan 2020-02-07 07:20:25 UTC
1. create sampleConsoleYAMLSamples with `snippet: true` for job
2. Check on the resource's yaml sidebar, there is snippet shown up.
3. click insert snippet, it will add into editor.
4.3.0-0.nightly-2020-02-07-003021

Comment 4 errata-xmlrpc 2020-02-19 05:39:53 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, 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/RHBA-2020:0492