# Bug OP-9077 - activity tab of workpackage is empty after searching "@username scope=all" and opening via hyperlink from the result list

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions |  |
| Sprint | 12.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| 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

### **Environment**:

Your OpenProject Version: 11.3.4 onpremise 

Operating System / Browser / OpenProject language:

windows 10, chrome or Edge, german

### **Logs**

javascript console

sentry-reporter.ts:175 \[ErrorReporter\] Would queue sentry message captureException Array(1), but is not configured.  
sentry-reporter.ts:175 \[ErrorReporter\] Would queue sentry message captureException Array(1), but is not configured.  
zone-evergreen.js:182 Uncaught TypeError: Cannot read property 'params' of null  
   at p.get workPackageId \[as workPackageId\] (wp-tab-wrapper.component.ts:51)  
   at p.ngOnInit (wp-tab-wrapper.component.ts:63)  
   at Vt (core.js:2521)  
   at Yt (core.js:2492)  
   at Ht (core.js:2443)  
   at ba (core.js:9429)  
   at core.js:10534  
   at ba (core.js:9438)  
   at Wa (core.js:10580)  
   at core.js:9211

**Steps to reproduce:**

1.  login with valid user
2.  search @username via worpackage search field 
3.  change scope to "all" in result list (search?q=%40thompson\&scope=all)
4.  click on an entry from the result list
5.  workpackage will open, activity tab is active but empty (completely blank, only whitespace)
6.  click on another tab, eg. relations and back to activity tab
7.  now all comments are shown

### **Actual Behavior**

activity tab is empty

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22216/content"></div></figure>

### **Expected Behavior**

all comments should be shown without any additional steps

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22217/content"></div></figure>
