Bug 2081674 - Developer add page create a new project modal redirects to admin project page after creation
Summary: Developer add page create a new project modal redirects to admin project page...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.11
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.12.0
Assignee: Lokananda Prabhu
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-04 10:54 UTC by Christoph Jerolimov
Modified: 2023-01-17 19:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:48:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
redirect-to-admin-project-dashboard.mp4 (464.23 KB, video/mp4)
2022-05-04 10:54 UTC, Christoph Jerolimov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11781 0 None open Bug 2081674: Added onSubmit for create a project function for Dev perspective 2022-07-05 10:55:26 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:48:38 UTC

Description Christoph Jerolimov 2022-05-04 10:54:20 UTC
Description of problem:
As a user with limited access, the developer perspective is opened automatically. The user automatically saw a page that explain that she/he need to create a project:

> Getting Started
> OpenShift helps you quickly develop, host, and scale applications.
> To get started, create a project for your application.
> 
> To learn more, visit the OpenShift documentation.
> 
> Download the command-line tools
> 
> (Disabled) Add
> 
> (Disabled) Select a Project to start adding to it or create a Project

When creating a new project over the project dropdown the new project is created and the user stays on the add page.

But when creating a project with the link "Create a new project" the user is automatically redirected to the admin page.


Version-Release number of selected component (if applicable):
4.10.9 (older versions not tested)


How reproducible:
Always


Steps to Reproduce:
1. Login with a developer user (limited access, this means the developer perspective should be opened automatically and the user can not see any other project)
2. Navigate to the add page and click on "Create a new project"
3. Create a new project with the modal


Actual results:
The new project is created and the project detail page from the admin perspective is shown.


Expected results:
That the new project is created and the user stays on the add page. Ideally, the new namespace is selected and the add page shows the common add actions.


Additional info:
A questions to the UX team: it looks like the "Create a new project" button is the primary CTA on this page. But it's displayed as a "link" (with strange padding)  instead of a primary button. Should we change this to a primary button?

Comment 1 Christoph Jerolimov 2022-05-04 10:54:39 UTC
Created attachment 1876984 [details]
redirect-to-admin-project-dashboard.mp4

Comment 3 Christoph Jerolimov 2022-07-25 23:11:59 UTC
Verified on 4.12.0-0.nightly-2022-07-25-122035

Comment 6 errata-xmlrpc 2023-01-17 19:48:18 UTC
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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security update), 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/RHSA-2022:7399


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