Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1834304

Summary: Show dialog when `Edit YAML` link in Pipeline Builder Page is clicked
Product: OpenShift Container Platform Reporter: Debsmita Santra <dsantra>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: medium    
Version: 4.5CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Initially, the dialog, notifying the user that on switching to YAML editor all the unsaved changes will be lost, was shown only when values have been entered in the form. Now the user will be notified every time he/she switches to YAML editor irrespective of whether or not values have been entered in the form
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-13 17:37:32 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:
Attachments:
Description Flags
dialog none

Description Debsmita Santra 2020-05-11 13:43:27 UTC
Description of problem:
No dialog message is shown to the user in the Pipeline Builder Page when there are no changes and the user clicks `Edit yaml` link

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

How reproducible:
Always

Steps to Reproduce:
1. Click on Pipelines Nav Item
2. Click on `Create Pipeline`
3. Click on `Edit Yaml` link

Actual results:
No warning or alert message is shown to the user 

Expected results:
The dialog message should always be shown when "Edit YAML" link is clicked

Additional info:

Comment 3 Gajanan More 2020-05-15 11:30:24 UTC
Created attachment 1688898 [details]
dialog

Comment 4 Gajanan More 2020-05-15 11:32:14 UTC
I have validated the bugzilla on
Build: 4.5.0-0.nightly-2020-05-15-045750
Browser: Google Chrome Version 81.0.4044.129
Please have a look at the screenshot shared
marking this as verified

Comment 5 errata-xmlrpc 2020-07-13 17:37:32 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:2409