Bug 1493439 - [trello jUv32Ycz] Clicking on secret name link on the provision result page redirects to home page
Summary: [trello jUv32Ycz] Clicking on secret name link on the provision result page r...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Management Console
Version: 3.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-20 08:03 UTC by Yanping Zhang
Modified: 2017-09-27 13:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-27 13:01:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yanping Zhang 2017-09-20 08:03:15 UTC
Description of problem:
On env with service catalog, try to create serviceinstance on web console, in the "Binding" step, choose "Create secret for later use", then create. On the result page, there is created secret name link, click on the link, it should redirect to the secret page, but now it redirects to home page, 

Version-Release number of selected component (if applicable):
openshift v3.7.0-alpha.1+1c8041b-505
kubernetes v1.7.0+80709908fd

How reproducible:
Always

Steps to Reproduce:
1.Login web console, on home page, click one serviceclass, eg:MariaDB (Persistent) , on the dialog "Configuration" part, click "Next".
2.On the Binding step, selects the option to create a secret for later use. click create.
3.On the result page, click the created secret name link.

Actual results:
2. Creation succeeds.
3. It redirects to home page.

Expected results:
3. It should redirect to the secret page.

Additional info:

Comment 1 Samuel Padgett 2017-09-20 13:33:39 UTC
Two problems:

* The `canI` check for viewing secrets is not always working. It only works if you've visited the project previously. This means that sometimes the secret name doesn't appear as a link.
* The URL passed to the bind-result component is wrong, so the link isn't working.

Comment 4 Yanping Zhang 2017-09-27 02:01:17 UTC
Tested on origin env with service catalog with version:
openshift v3.7.0-alpha.1+891ae37-675
kubernetes v1.7.0+80709908fd
Now the secret name link on the result page could redirect to the secret page successfully.
The bug has been fixed, so move it to Verified.


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