# Bug OP-7458 - Gantt chart: children not allowed to move out of its parent's date range 

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.0.0 |
| Observed in versions |  |
| Sprint | 11.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: 10.6

Operating System / Browser / Language: Mac / Browser

### **Logs**

No

### **Steps to reproduce:**

1.  Go to a Gantt Chart
2.  Drag a child of a work package on out its date range

### **Actual Behavior**

1.  The child is placed outside of the date range but
2.  The backend returns an error:

![](https://lh4.googleusercontent.com/PA5WxzuJqfTMus7reCIfecYyY7LN5M6nGXaKzqJ7NF-EMfToMvkIlPcxZV9PkglL4E3rx3r8kxaBdTb4Ef1S8Px_1sasrssGd7t8ZSkvUqe-knPuBce5_cjajQxoQWHRJH8YlEWP)

### **Expected Behavior**

The child should not be able to be placed outside of the parent's date range on the UI it is not allowed to do so on the backend.
