# Bug SPAR-268 - Cannot switch back from Manual to Automatic scheduling on milestone successor

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-268

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Relations and scheduling |
| Target versions | 16.1.0 |
| Observed in versions | 16.0.0 |
| Bug found in version (deprecated) | 16.0.x |
| 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.  Create two work packages with predecessor-successor relation with milestone as successor

2.  Set dates on them and make sure they have automatic scheduling

3.  Open the successor and switch from automatic to manual scheduling

4.  Close the date picker open it again: manual scheduling is on

5.  Switch to automatic scheduling and click Save

### What is the buggy behavior?

  - Clicking Save doesn't do anything and there is 422 Unprocessable content error in Console

### What is the expected behavior?

1.  We should be able to change the scheduling once again from manual to automatic

### Environment information

**OpenProject version**

*16.0*
