Bug 1388812 - [userinterface_public_691] Secret selection box does not work for Custom strategy BC on BC editor page
Summary: [userinterface_public_691] Secret selection box does not work for Custom stra...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: ---
Assignee: Jakub Hadvig
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-26 08:40 UTC by Xingxing Xia
Modified: 2017-03-08 18:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Adding a Build Secret in the BC editor page. Consequence: Wont list available secrets. Fix: Pick only the appropriate secrets in the controller. Result: User will be able to pick from all available source secrets.
Clone Of:
Environment:
Last Closed: 2017-03-08 18:33:15 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Xingxing Xia 2016-10-26 08:40:08 UTC
Description of problem:
Secret selection box does not work for Custom strategy BC on BC editor page. BC of other strategies don't have the problem.

Version-Release number of selected component (if applicable):
openshift v3.4.0.15

How reproducible:
Always

Steps to Reproduce:
1. Login to openshift. Create custom strategy BC
$ oc new-app -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-custombuild.json
2. Create some secret 
$ touch file; oc secrets new mysecret file
3. On ruby-sample-build BC editor page, click "advanced options". In the "Build Secrets" part, click the selection box, select the secret.

Actual results:
3. After clicking, the box does not show the drop-down list at all, and thus cannot show the secret to select.

Expected results:
3. Can show the secret to select.

Additional info:

Comment 1 Xingxing Xia 2016-11-02 04:42:25 UTC
In latest puddle, openshift version 3.4.0.18 has not yet included the PR. Wait for next puddle.

Comment 3 XiaochuanWang 2016-11-03 09:23:54 UTC
Verified on latest origin:
openshift v1.4.0-alpha.0+90d8c62-1000-dirty

User can select "mysecret" from "Build Secret" drop down list.


Note You need to log in before you can comment on or make changes to this bug.