Bug 2110525

Summary: Form/YAML form errors stay around
Product: OpenShift Container Platform Reporter: Vikram Raj <viraj>
Component: Dev ConsoleAssignee: Vikram Raj <viraj>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: low    
Version: 4.12CC: cjerolim, nmukherj
Target Milestone: ---   
Target Release: 4.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-17 19:53:27 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:

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