Bug 1908296

Summary: Fix pipeline builder form yaml switcher validation issue
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: Mohammed Saud <msaud>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:44:54 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 Karthik Jeeyar 2020-12-16 11:00:39 UTC
Description of problem:

In pipeline builder page,  pasting the yaml file on the yaml section and switching back to form view fails to enable the create button.

On clicking anywhere on the builder form, enables the create button.

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

How reproducible:
Always


Steps to Reproduce:

1.Goto pipeline builder page, switch to yaml section
2.paste a valid pipeline yaml  from the clipboard
3.switch back to form view

Actual results:

Create button is disabled and it gets enabled as soon as the user clicks anywhere in the document.

Expected results:

Create button should be enabled when the user switches from the yaml to builder view.

Comment 2 Mohammed Saud 2021-01-13 09:15:19 UTC
Verified on:
Version: 4.7.0-0.ci-2021-01-12-220011
Browser: Firefox 84

Create button is enabled in form view when a valid yaml is entered in yaml view.

Comment 3 Andrew Ballantyne 2021-01-18 11:47:46 UTC
*** Bug 1908295 has been marked as a duplicate of this bug. ***

Comment 6 errata-xmlrpc 2021-02-24 15:44:54 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.7.0 security, bug fix, and enhancement 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-2020:5633