# Bug OP-17781 - ID link in notification center always points to last opened project

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17781

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Notification center |
| Target versions | 16.5.0 |
| Observed in versions | 16.3.0 |
| Sprint | 16.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.3.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

<br>

1.  Login with a user who has at least 1 unread notification in the notification center
    
2.  Open the _notification center_ and hover over the work package ID diplayed in a notification and look for the URL displayed in your browser:
    
    <img class="image_resized op-uc-image op-uc-image_inline" style="width:231px;" src="/api/v3/attachments/775133/content">
    
3.  Open a random project from the project list
    
4.  From the overview page of that project, click on the notification icon with the unread message at the top right corner, to navigate back to the _notification center._
    
5.  Check the displayed URL again
    

### What is the buggy behavior?

<br>

*   The URL changes and always includes a path the the project you navigated to the notification center from.
    
*   It does point to the project where the work package is actually located in.
    

### What is the expected behavior?

<br>

1.  The ID-link to a work package in the notification center always points to project, where the work package is located in.
    

###   

### **Logs**

<br>

### Screenshots and other files

<br>

<img class="image_resized op-uc-image op-uc-image_inline" style="width:330px;" src="/api/v3/attachments/775140/content">

Example from the notification mentioned above. Pointing to a project I just had open before.

### Environment information

<br>

**OpenProject installation type**

*   Hosted cloud edition
    
    <br>
    

**OpenProject version**

_16.3.2 (reported from a customer who uses 16.2)_

**Browser**

*   [ ] Chrome
*   [ ] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [x] Other (Vivaldi)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_DE/EN tested_
