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

Bug 1536367

Summary: The "Create new secret" modal disappears and loses all inputs if user carelessly click outside the modal
Product: OpenShift Container Platform Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Steve Goodwin <sgoodwin>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.9.0CC: aos-bugs, jforrest, jokerman, jvallejo, mmccomas, spadgett, yanpzhan, yapei
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1390490 Environment:
Last Closed: 2018-01-26 13:30:43 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 Xingxing Xia 2018-01-19 09:05:21 UTC
+++ This bug was initially created as a clone of Bug #1390490 +++

In v3.9.0-0.21.0, in BC editor page, the "Create New Secret" under Build Secrets has the issue, under other places, has no the issue

Description of problem:
The "Create new secret" modal disappears and loses all inputs if user CARELESSLY click outside the modal. Below take BC edit page for example. Other pages with the "Create new secret" have same issue.

Version-Release number of selected component (if applicable):
v1.4.0-alpha.0+f69b28e-909 (vendored
upon origin-web-console commit 34067a1)

How reproducible:
Always

Steps to Reproduce:
1. Create BC
2. Go to BC editor page, hit "advanced options", hit "Create new secret"
3. It will show a modal (i.e. window) for inputs. Try to input secret name "mygit", input user "bob", input password "12345678". Then click a place outside the modal (which customer may carelessly do)
3.

Actual results:
2. After click outside the modal, the modal disappears. Hit "Create new secret" again, all previous inputs are lost. Customer has to input all again.

Expected results:
2. The modal should not disappear if click outside the modal

Additional info:
This may be the characteristics of modal, but it indeed causes careless inconvenience.

--- Additional comment from Juan Vallejo on 2016-11-18 02:16:23 CST ---

Related PR https://github.com/openshift/origin-web-console/pull/885

--- Additional comment from Yanping Zhang on 2016-11-18 12:36:36 CST ---

Checked on openshift v1.4.0-alpha.1+63e3797-264, when create new secret on edit bc page, click outside the modal, the modal won't disappear now, and could continue with the creation.
The bug has been fixed, so move it to Verified.

Comment 1 openshift-github-bot 2018-01-22 20:36:15 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/3d6c12665a3bc34b0b84532df06ed0c9da05e9d6
Merge pull request #2700 from sg00dwin/create-secret-modal-bug1536367

Automatic merge from submit-queue.

Opting out of functionality where clicking outside of the create secret modal closes it.

Fixes bug 1536367

Comment 2 Xingxing Xia 2018-01-24 10:51:19 UTC
Issue of the "Create New Secret" under Build Secrets is fixed in v3.9.0-0.23.0. Please move to ON_QA

Comment 3 Jessica Forrester 2018-01-24 13:28:14 UTC
moving to ON_QA since this was both fixed and introduced in 3.9