-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17
-
None
-
Moderate
-
None
-
False
-
-
Automatic perspective detection dropped the path from deep links. This was updated so that the current path is retained when automatic perspective switching occurs.
-
Bug Fix
-
In Progress
This is a clone of issue OCPBUGS-50650. The following is the description of the original issue:
—
Description of problem:
When a developer sandbox user logs in for the first time, OpenShift Console ignores the path in the URL the user clicked on (eg."/add/ns/krana-dev") and navigates the user to 'all projects' view instead of the namespace from the user URL.
This also happens in any other OCP instance, the behavior is apparently tied to the user console settings ConfigMap. When a user logs in for the first time, the console user setting ConfigMap is not created yet. When the CM is not created (and doesn't have the console.lastNamespace field populated yet), the UI overrides the namespace navigation from "/add/ns/krana-dev" to "add/all-namespaces". For the second login, when the CM with the field is present already, the URL navigation works as expected.
Version-Release number of selected component (if applicable):
not sure if previous or future versions are impacted. we are currently on 4.17, so can confirm that Openshift 4.17 is impacted.
How reproducible:
reproducible for first time user.
Steps to Reproduce:
In any OCP cluster 1. Provision new cluster (or use any cluster you haven't logged in before) 2. Navigate to <cluster-url>/add/ns/default (you can also use any other namespace already present in the cluster) 3. You will land in the "all-namespaces" view and the URL will be changed to /add/all-namespaces
In Developer Sandbox 1. make sure you're not active user on https://developers.redhat.com/developer-sandbox 2. if you are already active, you can either create a new user or ask anyone in #forum-dev-sandbox to deactivate your user. 3. Go to https://console.redhat.com/openshift/sandbox click on "Get Started" and then click on "launch" button in the Red Hat OpenShift tile. This redirects you to your namespace /add/ns/<username>-dev 4. OpenShift console doesn't navigate you to the "*-dev" namespace, but navigates you to all-namespaces view. The change is also visible in the url.
Actual results:
User is navigated to all-namespaces.
This behavior has negative impact on the UX in the Developer Sandbox. A good percentage of users of DevSandbox are trying to learn more about openshift and often don't know what to do and where to go. Not landing in the right namespace can discourage users from experimenting with OpenShift and can also break any redirection from learning paths or other RH materials.
Expected results:
The path in the URL is not ignored and not overwritten, and the user is navigated to the namespace from the URL
Additional info:
- clones
-
OCPBUGS-50650 Namespace path in URL is ignored and changed to all-namespaces for the first login
-
- ON_QA
-
- is blocked by
-
OCPBUGS-50650 Namespace path in URL is ignored and changed to all-namespaces for the first login
-
- ON_QA
-
- links to