# Bug SPAR-176 - Inconsistent behaviour for switching to automatic mode in WP create form

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Low |
| Module |  |
| Target versions | 15.4.2 |
| Observed in versions | 15.4.0 |
| Bug found in version (deprecated) | 15.4.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

*   Create a new WP
    
*   In the create form, open the datepicker
    
*   Try to switch to autmatic scheduling
    
*   Save the WP
    
*   Open the datepicker again
    
*   Try to switch to autmatic scheduling
    

### What is the buggy behavior?

*   In the create form, it is not possible to even click the automatic scheduling swtich
    
*   Once the WP is created, it is possible, but the form is not saveable
    

### What is the expected behavior?

1.  The create form should behave like the persisted form
    
    1.  it should also be possible to click the automatic mode
        
    2.  but the datepicker should not be saveable (as automatic mode does not make sense for WP without relations)
        

###   

###   

### Environment information

**OpenProject version**

_15.4_

**Browser**

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

**Operating System**

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

**Language**

_German_
