# Bug OP-11226 - "Logged by" column is showing the wrong value ("Deleted user") in the cost report

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

## Open points

_No work packages_

## Details

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Log into https://qa.openproject-edge.com
2.  Open one of the projects.
3.  Right-click on one of the work packages and select &quot;Log unit costs&quot;. 
4.  Log costs by choosing one of the predefined units and save the log.
5.  Go to &quot;Time and costs&quot; page to see your cost report.
6.  Once &quot;New cost report&quot; page is opened, scroll down to &quot;Group by&quot; options and remove all of them so there is none at the end. 
7.  In &quot;Units&quot; section, select either &quot;Cash value&quot; or a specific unit and then click &quot;Apply&quot;.
8.  Once the table is generated, observe the &quot;Logged by&quot; column. 

### What is the buggy behavior?

&quot;Logged by&quot; column is displaying &quot;Deleted user&quot; as a value.

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

### What is the expected behavior?

&quot;Logged by&quot; column should be displaying the name of the user who made a log. It should be working the same as for time logging (if you look the screenshot, you will see that for time logging, it is working fine).

### Environment information

**OpenProject installation type**

*   [ ] Hosted cloud edition
*   [ ] Packaged installation
    *   What distribution?
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [x] Other (please specify): **QA Edge 12.3.0**
