# Bug OP-7179 - Fetching recent work packages when logging time fails with internal error

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 10.6.0 |
| Observed in versions |  |
| Sprint | 10.6.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: 10.6 / Cloud Edition

Operating System / Browser / Language: 

### **Logs**

![](/api/v3/attachments/18130/content)

**Steps to reproduce:**

1.  Go to my page
2.  Click on my spent time widget to open log time modal
3.  Within the work packages attribute, switch to the &quot;Recent&quot; tab

### **Actual Behavior**

An internal error is displayed:

![](/api/v3/attachments/18131/content)

It seems to only exist in the front end.

### **Expected Behavior**

The work packages for which time has been logged most recently should be listed.
