# Bug OP-4243 - Logged time from sub tasks in other projects not shown when project copied / project name changed

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-4243

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 8.0.0 |
| Observed in versions |  |
| Sprint | 8.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

**Preconditions**

  - Work package module activated.
  - Parent work package exists in project A.
  - Child work package(s) exist in project B.
  - Time logged on work package in project B (inherited to project A) - with date that is significantly in the past (e.g. 4 month prior).

**Steps to reproduce**

1.  Copy project A (with work packages).
2.  Rename copied project A.
3.  Create a parent-child relationship from work package with logged time in project B to copied project A.
4.  Go to copied project A, open copied work package (which has logged time inherited from WP in project B).
5.  Click on logged time link.

**Actual behavior**

  - Time entries inherited from sub work packages not shown.
      - This happens both with and without activated cost report module.

**Expected behavior**

  - Time entries inherited from sub work packages shown.

**Gif**  
![](Bug_Logged-time.gif)

**Example**  
https://demoproject.openproject.com/projects/demo-project/work\_packages/476/activity

**QA system**

  - OpenProject 7.3
