Redirected incorrectly from profile page when no projects exist #2034

Closed
opened 2026-04-05 16:44:41 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jmeridth on 1/31/2023

Describe the bug
After signing up I'm redirected to https://oneuptime.com/dashboard/welcome. Instead of creating a project I opened my profile page by clicking my icon at top right and then Profile.

Screenshot 2023-01-30 at 8 05 24 PM

Then I clicked the Home link in the breadcrumbs Home > User Profile. This redirects me to https://oneuptime.com/dashboard/:projectId/home/.

Screenshot 2023-01-30 at 8 08 33 PM

You can see the :projectId portion of the Url. This is because I do not have a project.

Screenshot 2023-01-30 at 8 05 36 PM

To Reproduce
Steps to reproduce the behavior:

  1. Create new account
  2. Login
  3. Click Profile avatar in top right
  4. Click Profile
  5. Click Home in breadcrumbs link
  6. Get redirected to https://oneuptime.com/dashboard/:projectId/home/ (BAD URL)

Expected behavior
Since I do not have any projects and Home link was clicked I'd expect to be redirected to https://oneuptime.com/dashboard/welcome

Screenshots
Screenshots above

Desktop (please complete the following information):

  • OS: OSX Ventura 13.1
  • Browser Chrome
  • Version 109.0.5414.119 (Official Build) (arm64)
*Originally created by @jmeridth on 1/31/2023* **Describe the bug** After signing up I'm redirected to https://oneuptime.com/dashboard/welcome. Instead of creating a project I opened my profile page by clicking my icon at top right and then `Profile`. <img width="241" alt="Screenshot 2023-01-30 at 8 05 24 PM" src="https://user-images.githubusercontent.com/35014/215641653-9e1041c1-3396-4f28-9cd1-799e7f07508f.png"> Then I clicked the `Home` link in the breadcrumbs `Home > User Profile`. This redirects me to https://oneuptime.com/dashboard/:projectId/home/. <img width="515" alt="Screenshot 2023-01-30 at 8 08 33 PM" src="https://user-images.githubusercontent.com/35014/215641752-b5bb2927-b869-4a1e-990e-9f93d507b323.png"> You can see the `:projectId` portion of the Url. This is because I do not have a project. <img width="678" alt="Screenshot 2023-01-30 at 8 05 36 PM" src="https://user-images.githubusercontent.com/35014/215641693-d541794c-0d08-45b6-8c45-94bb5812cbee.png"> **To Reproduce** Steps to reproduce the behavior: 1. Create new account 2. Login 3. Click Profile avatar in top right 4. Click Profile 5. Click Home in breadcrumbs link 6. Get redirected to https://oneuptime.com/dashboard/:projectId/home/ (BAD URL) **Expected behavior** Since I do not have any projects and `Home` link was clicked I'd expect to be redirected to https://oneuptime.com/dashboard/welcome **Screenshots** Screenshots above **Desktop (please complete the following information):** - OS: OSX Ventura 13.1 - Browser Chrome - Version 109.0.5414.119 (Official Build) (arm64)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#2034