"View Project" Always Redirects to First-Created Project in Admin Panel #94

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

Originally created by @atippin1 on 2/10/2026

Describe the bug
In the OneUptime admin panel, when multiple projects exist, clicking “View Project” on any project always redirects to the first project that was created, instead of the selected project. This behavior is inconsistent with the project list and can lead to dangerous actions being performed on the wrong project.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the OneUptime admin panel.
  2. Navigate to Projects.
  3. Ensure there are multiple projects listed.
  4. Click “Show ID” on different projects and observe that each project correctly shows a unique project ID.
  5. Click “View Project” on any project other than the first one created.
  6. Observe that you are redirected to the first project created, not the selected project.

Expected behavior
Clicking “View Project” on a specific project should redirect the user to that project’s correct project page, matching the project ID shown via “Show ID”.

Screenshots

Image

Desktop (please complete the following information):

  • OS: macOS Sequoia 15.6
  • Browser: Firefox
  • Version: 147.0.1

Smartphone (please complete the following information):

  • Device: N/A
  • OS: N/A
  • Browser: N/A
  • Version: N/A

Deployment Type
Self-hosted app version 9.4.9

Additional context
This issue almost caused accidental deletion of an extremely important project, as the UI implied one project was selected while actions were actually performed on another. Since “Show ID” displays the correct project ID but “View Project” always routes to the first-created project, this appears to be a frontend routing or state-mapping issue and poses a high risk for destructive actions (delete, modify, etc.).

*Originally created by @atippin1 on 2/10/2026* **Describe the bug** In the OneUptime admin panel, when multiple projects exist, clicking **“View Project”** on *any* project always redirects to the **first project that was created**, instead of the selected project. This behavior is inconsistent with the project list and can lead to dangerous actions being performed on the wrong project. **To Reproduce** Steps to reproduce the behavior: 1. Go to the OneUptime admin panel. 2. Navigate to **Projects**. 3. Ensure there are multiple projects listed. 4. Click **“Show ID”** on different projects and observe that each project correctly shows a unique project ID. 5. Click **“View Project”** on any project other than the first one created. 6. Observe that you are redirected to the **first project created**, not the selected project. **Expected behavior** Clicking **“View Project”** on a specific project should redirect the user to **that project’s correct project page**, matching the project ID shown via **“Show ID”**. **Screenshots** <img width="1408" height="456" alt="Image" src="https://github.com/user-attachments/assets/bb824cd2-e579-41ca-a027-0b68181e3ecf" /> **Desktop (please complete the following information):** * OS: macOS Sequoia 15.6 * Browser: Firefox * Version: 147.0.1 **Smartphone (please complete the following information):** * Device: N/A * OS: N/A * Browser: N/A * Version: N/A **Deployment Type** Self-hosted app version 9.4.9 **Additional context** This issue almost caused accidental deletion of an extremely important project, as the UI implied one project was selected while actions were actually performed on another. Since **“Show ID”** displays the correct project ID but **“View Project”** always routes to the first-created project, this appears to be a frontend routing or state-mapping issue and poses a high risk for destructive actions (delete, modify, etc.).
MrUnknownDE added the bugbugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 16:18:51 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#94