Content
View differences
Updated by Christophe Bliard about 1 year ago
### Steps to reproduce
1. Create a WP of a type which is not a Milestone
2. Make sure, that the WP has duration larger than 1 day
3. Make sure, that the WP is automatically scheduled
1. add a predecessor (with dates set)
2. and add a child (with dates set with a duratino larger than 1 day) set)
4. Try to change the type of the WP to a Milestone type
### What is the buggy behavior?
* There is an error, because a work package with children cannot be a milestone, and it also tries to set the dates to the children's dates which generates additional errors: the finish date can't be changed (as it is automatically scheduled) but a Milestone needs to have the finish date the same as the start date.
<img class="image_resized op-uc-image op-uc-image_inline" style="width:582px;" src="/api/v3/attachments/389769/content">
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/389773/content">
### What is the expected behavior?
* Only Changing the error "Type cannot type should be a milestone because this work package has children" possible and the dates should be displayed adapt
###
### 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
1. Create a WP of a type which is not a Milestone
2. Make sure, that the WP has duration larger than 1 day
3. Make sure, that the WP is automatically scheduled
1.
2.
4. Try to change the type of the WP to a Milestone type
### What is the buggy behavior?
* There is an error, because a work package with children cannot be a milestone, and it also tries to set the dates to the children's dates which generates additional errors: the finish date can't be changed (as it is automatically scheduled) but a Milestone needs to have the finish date the same as the start date.
<img class="image_resized op-uc-image op-uc-image_inline" style="width:582px;" src="/api/v3/attachments/389769/content">
### What is the expected behavior?
* Only
**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