Bug 1459848

Summary: [trello aeh71wF7] No need confirmation prompt when click "create anyway" button
Product: OpenShift Container Platform Reporter: shahan <hasha>
Component: Management ConsoleAssignee: Samuel Padgett <spadgett>
Status: CLOSED CURRENTRELEASE QA Contact: XiaochuanWang <xiaocwan>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: aos-bugs, jokerman, mmccomas, spadgett
Target Milestone: ---   
Target Release: ---   
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: 2017-06-21 12:14:48 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
no need prompt none

Description shahan 2017-06-08 10:50:20 UTC
Created attachment 1286104 [details]
no need prompt

Description of problem:
When general users try to create clusteradmin exclusive resources,will prompt a warning dialog. Click "Create Anyway" button, However, will prompt another dialog unexpectedly said that "You have unsaved changes..".

Version-Release number of selected component (if applicable):
OpenShift Master:v3.6.99
Kubernetes Master:v1.6.1+5115d708d7 

How reproducible:
Always

Steps to Reproduce:
1.Login in web console,click "Add to project"
2. Open https://gist.githubusercontent.com/spadgett/9493aa1d8abf801594a1373ed4eea48b/raw/bb108fd62813342931566e60e55088853392029b/ups-broker-template.yaml
3.select "Import YAML/JSON" tab and paste the ups-broker-template.yaml content, click Create button ,then select process the template checkbox,click Continue button.
4.Fill in parameters in the edit page, and click "Create Anyway" on the warning dialog    

Actual results:
4.  will prompt another dialog unexpectedly said that "You have unsaved changes..".(see attachement)

Expected results:
4. will create resources without the warning prompt.

Additional info:

Comment 2 Samuel Padgett 2017-06-08 20:17:49 UTC
This is not specific to the cluster resource prompt. It happens for any template where the form was modified. Making this medium severity.

Comment 3 openshift-github-bot 2017-06-08 22:59:18 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/ac8590fb089a1aaa9d3f17e43194205b43e67b59
Bug 1459848 - Fix template confirm-on-exit prompt

Correctly set `confirm.doneEditing` when the "Create" button is clicked.

Comment 4 shahan 2017-06-16 04:45:18 UTC
I checked this issue on openshift v3.6.109 env, it has been fixed. Please change the bug to ON_QA, so that I can verift the bug. Thanks!