# Bug OP-11145 - Notification center sometimes displays the activity log of the wrong work package in split screen

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 12.5.0 |
| Observed in versions | 12.2.0 |
| Sprint | 12.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.2.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 |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

This bug is not easy to reproduce and only happens in certain occassions (I'm unable to determine when). But generally:

1.  Open Notification Center
2.  Click on a notification to open the Activity tab of that work package in split-screen
3.  Click on another notification and, before that one loads, quickly click on another one

### What is the buggy behavior?

  - In certain cases, when switching between different notifications, the activity log loaded in split screen is that of the wrong work package
      - In the screencast below, note that for the "Disregard distance" feature, the split screen shows the activity log of the "Protect activity tracking" work package
      - Note that this concerns just the activity log part of the split screen; the headers are all correct

### What is the expected behavior?

1.  The split screen shows the activity tab of the correct work package (the one that generated notification the user clicked on and is the referenced by the header of the spliti screen)

### Screenshots and other files

Screencast:

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

**OpenProject installation type**

- [x] Hosted cloud edition: Community

**OpenProject version**

12.3 (although this was the same with 12.2 as well)

**Browser**

- [ ] Chrome
- [ ] Firefox
- [x] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Language**

EN
