# Bug OP-18107 - Changing dates on children WP with automatically generated subjects does not affect parent dates

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / Relations and scheduling |
| Target versions | 16.6.0 |
| Observed in versions | 16.4.0 |
| Sprint | 16.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.4.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 | Christophe Bliard |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have two types of work packages:
    
    1.  Type A - without Automatically generated subjects
    
    2.  Type B - with Automatically generated subjects

2.  Have a work package of type A with child 1 of Type A and child 2 of Type B

3.  Verify that the parent date scheduling mode is set to automatic

4.  Change the date of child 2

5.  Change the date of child 1

6.  Change again the date of child 2

7.  Change again the date of child 1 

### What is the buggy behavior?

  - The parent date doesn't update in step 4 and 6
    
      - after step 4 it still is unset
    
      - after step 6 it still is the same as after step 5

### What is the expected behavior?

1.  The parent dates should update every time

### Additional information

  - in the Gantt chart module the parent actually shows updated dates, but this is due to a different display logic

### Environment information

**OpenProject installation type**

  - Hosted edition

**OpenProject version**

*v16.4.1*

**Browser**

- [x] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [x] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

English
