Bug 1390490

Summary: The "Create new secret" modal disappears and loses all inputs if user carelessly click outside the modal
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Juan Vallejo <jvallejo>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, jvallejo, mmccomas, yanpzhan
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:
: 1536367 (view as bug list) Environment:
Last Closed: 2016-12-09 21:52: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:

Description Xingxing Xia 2016-11-01 08:46:19 UTC
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.

Comment 1 Juan Vallejo 2016-11-17 18:16:23 UTC
Related PR https://github.com/openshift/origin-web-console/pull/885

Comment 2 Yanping Zhang 2016-11-18 04:36:36 UTC
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.