# Bug OP-6577 - Total Estimate time won't be re-calculated after hierarchy of sub-nodes changed

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date | 2020-01-06 |
| Priority | High |
| Module |  |
| Target versions | 10.4.0 |
| Observed in versions | 10.2.0 |
| Sprint | 10.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.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

### **Environment**:

Your OpenProject Version: **OpenProject 10.3.0** (PostgreSQL) / Self-Host

CentOS 7 / Chrome / Language: English

### **Logs**

NA

### **Steps to reproduce:**

1.  Go to demo project's work packages
2.  Add a new task with 100 hours estimated hours
3.  Drag the new task item to "Project planning" phase
4.  but the estimated time of phase is 30 hours all the same until I change any sub-node's estimated time

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

### **Actual Behavior**

but the estimated time of phase is 30 hours all the same until I change any sub-node's estimated time.

### **Expected Behavior**

the estimated time of phase changes after dragging.
