Bug 1703757
Summary: | Open Link in New Tab always redirects user to project list page | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Yadan Pei <yapei> |
Component: | Management Console | Assignee: | Robb Hamilton <rhamilto> |
Status: | CLOSED ERRATA | QA Contact: | Yadan Pei <yapei> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.1.0 | CC: | aos-bugs, jokerman, mmccomas, yapei, yasun |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Select links in the masthead have an href value of "#" with an onClick handler containing the target destination.
Consequence: As a result, those links have the option to open in a new tab, but utilizing that option opens /#, which resolves to the dashboard instead of the intended target destination.
Fix: Any links with an href of "#" are updated to a button element so the "Open Link in New Tab" option is not available.
Result: Links that have the "Open Link in New Tab" option show the correct URL.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:11:03 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
Yadan Pei
2019-04-28 07:13:00 UTC
This is a limitation of the Patternfly 4 dropdown we're using in the masthead. This can't be fixed in console without upstream Patternfly changes. Moving to low since the links already open in a new window. I agree this is something we should try to fix, however. Even making this a `button` element fixes the problem because the open in new tab would no longer appear, but it's better if we can make this a true `a` element with an `href`. The "Documentation" and "Multi-Cluster Manager" are fixed in 4.2.0+, but "Command Line Tools" is not. 1. Click on app launcher icon, right click on 'OpenShift Cluster Manager' -> Open Link in new tab, it will goes to https://cloud.redhat.com/openshift/.... 2. Click on ? -> right click on 'Documentation' -> Open Link in new tab, it goes to https://docs.openshift.com/container-platform/4.5/ 3. Click on ? -> right click on 'Command Line Tools' -> Open Link in new tab, it goes to /command-line-tools page Verified on 4.5.0-0.nightly-2020-05-06-003431 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |