# Bug OP-7373 - Parent's due date can be edited in automatic scheduling mode

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| 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**:

Dev 11.0

### **Logs**

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

### **Steps to reproduce:**

1.  Go to an edge environment e.g. [this one](https://niels.openproject-edge.com/projects/demo-project/work_packages?query_id=55)
2.  Create a parent work package A with a subelement A1.
3.  Switch parent A to automatic scheduling mode.
4.  Open the date picker by clicking on the due date.
5.  Click on the today link below the due date.

### **Current Behavior**

*   The date in the due date field is changed to the current date.
*   There is an active save link.

### **Expected Behavior**

*   Since the parent A is a in automatic scheduling mode neither the starte date nor the finish date is editable.
*   The save icon is deactivated (unless the scheduling mode is changed to manual scheduling mode).
