Bug 1388428

Summary: [userinterface_public_691] On bc edit page, hit "Create new secret", input fields, click "Create", it still stays on the "create new secret" page
Product: OKD Reporter: Xingxing Xia <xxia>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jforrest, mmccomas
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: 2016-12-09 21:52:57 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-10-25 10:37:28 UTC
Description of problem:
On BC editor page, hit "advanced options", hit "Create new secret", input fields, click "Create", there is no response (the secret is created, though).
Other pages that have "Create new secret" have same issue.

Version-Release number of selected component (if applicable):
origin-web-console commit 07cceeb, vendored upon openshift v1.4.0-alpha.0+8db5209 

How reproducible:
Always

Steps to Reproduce:
1. Create project, create BC:
$ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
2. Go to BC editor page, hit "advanced options", hit "Create new secret", input fields: input secret name "mygit", input user "bob", input password "12345678", then click "Create".

Actual results:
2. After clicking "Create", it still stays on the "Create new secret" page. The secret is created.

Expected results:
2. Should come back to BC editor page.

Additional info:

Comment 1 Jessica Forrester 2016-10-26 18:12:07 UTC
in progress PR https://github.com/openshift/origin-web-console/pull/723

Comment 2 openshift-github-bot 2016-10-31 12:45:07 UTC
Commit pushed to master at https://github.com/openshift/origin-web-console

https://github.com/openshift/origin-web-console/commit/5a141c0c774579101167fed067c0ed5782900b27
Bug 1388428 - Get SA list even if the SA to which the secret be linked is defined

Comment 3 Xingxing Xia 2016-11-01 07:09:12 UTC
Verified with with v1.4.0-alpha.0+f69b28e-909 (vendored
upon origin-web-console commit 34067a1). Now all pages that have "Create new secret" can come back to page after 'Create', and the created secret is pre-filled in the secret selection box, linked to the SA ('builder' on BC related page, 'default' on DC related page) automatically.