Bug 2110525 - Form/YAML form errors stay around
Summary: Form/YAML form errors stay around
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.12
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.12.0
Assignee: Vikram Raj
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-25 14:24 UTC by Vikram Raj
Modified: 2023-01-17 19:53 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:53:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11871 0 None open Bug 2110525: Clear the error when switching between the Form and YAML editor 2022-07-25 14:26:56 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:53:58 UTC

Description Vikram Raj 2022-07-25 14:24:12 UTC
Description of problem:
When you are in YAML portion of the Form/YAML view, you can cause a syntax error and get a form error (the error part of the footer). Navigating back to the Form view, it's just "there" and not at all clearable.

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


How reproducible:
I will denote Pipeline Builder steps but I suspect this is with all Form/YAML switchers. So Pipeline Builder Operator is needed for the steps.

Steps to Reproduce:
1. Navigate to the Pipeline Builder
2. Go to the YAML and make an invalid syntax
3. Save (should error out)
4. Return to the Form view

Actual results:
The error is still visible and blocking a portion of the screen without really having validity to what the user is looking at.

Expected results:
When the user switches to Form we should clear the error.

Additional info:
copy from ODC bug https://issues.redhat.com/browse/ODC-6026

Comment 2 Christoph Jerolimov 2022-08-31 09:38:06 UTC
Verified on 4.12.0-ec.2

Comment 5 errata-xmlrpc 2023-01-17 19:53:27 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


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