Bug 1998575 - Insert sample YAML do nothing on BuildConfig and was mistakenly shown when editing a resource
Summary: Insert sample YAML do nothing on BuildConfig and was mistakenly shown when ed...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.9.0
Assignee: Christoph Jerolimov
QA Contact: Debsmita Santra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-27 16:00 UTC by Christoph Jerolimov
Modified: 2021-10-18 17:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:49:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9909 0 None None None 2021-08-27 17:10:37 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:49:47 UTC

Description Christoph Jerolimov 2021-08-27 16:00:49 UTC
Description of problem:
When the user opens the new BuildConfig form, switches to the YAML editor and inserts a sample YAML nothing happen (in production mode) and shows a fullscreen error (in dev mode).

The BuildConfig and other yaml editors must now show samples in the sidebar when the user edits a resource. This happen on the BuildConfig form page, but also in the Pipelines Builder.

Version-Release number of selected component (if applicable):
4.9 master (tested with 5a03b49462d0f3b1b35409814ae722f96c753cf3)

How reproducible:
Always

Steps to Reproduce:
1. Open developer perspective and import a deployment from git
2. Switch to Builds, and select "Edit BuildConfig" for the new created BuildConfig.
3. Switch to the YAML view
4. Open the sidebar and switch to Samples tab
5. Press "Try it" for one of the examples.

Actual results:
Nothing happen (in production mode) and shows a fullscreen error (in dev mode)

Expected results:
The console should insert the yaml but also should not show samples if the users edits a resource.

Additional info:
None

Comment 4 Debsmita Santra 2021-09-03 16:00:52 UTC
verified on 4.9.0-0.nightly-2021-09-01-193941

Comment 7 errata-xmlrpc 2021-10-18 17:49:29 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.9.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-2021:3759


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