Content
View differences
Updated by Oliver Günther almost 4 years ago
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Create a predecessor work package, with dates
2. Create a follower work package, with dates, following the predecessor
3. Create a child work package, child of the follower
4. Open the date picker for the child, and unset start date, and set end date to a date before predecessor
### What is the buggy behavior?
* The follower dates are changed to match the dates of the child, moving it _before_ its predecessor, which is wrong
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/35029/content">
* When picking the dates of the child, it's possible to select dates before the predecessor due date
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/35030/content"></div><figcaption class="op-uc-figure--description">date picker for child, any dates can be selected</figcaption></figure>
### What is the expected behavior?
* There should be an error message preventing me from doing this change
* ~~The The forbidden dates in the date picker should be disabled, like when trying to set parent's dates~~
* does not work: https://community.openproject.org/projects/openproject/work\_packages/43223/activity#activity-8 dates
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/35031/content"></div><figcaption class="op-uc-figure--description">date picker for follower, with dates before predecessor&amp;amp;amp;#39;s predecessor&amp;amp;#39;s due date being disabled as expected</figcaption></figure>
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other (please specify) dev 7f8df1d094
**OpenProject version**
happening on dev at 7f8df1d094 (around 12.2.x), ~~but I did not have an earlier version to test it~~. It also occurs on 12.1.6, and 12.1.0.
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
English
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Create a predecessor work package, with dates
2. Create a follower work package, with dates, following the predecessor
3. Create a child work package, child of the follower
4. Open the date picker for the child, and unset start date, and set end date to a date before predecessor
### What is the buggy behavior?
* The follower dates are changed to match the dates of the child, moving it _before_ its predecessor, which is wrong
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/35029/content">
* When picking the dates of the child, it's possible to select dates before the predecessor due date
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/35030/content"></div><figcaption class="op-uc-figure--description">date picker for child, any dates can be selected</figcaption></figure>
### What is the expected behavior?
* There should be an error message preventing me from doing this change
* ~~The
* does not work: https://community.openproject.org/projects/openproject/work\_packages/43223/activity#activity-8
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/35031/content"></div><figcaption class="op-uc-figure--description">date picker for follower, with dates before predecessor&amp;amp;amp;#39;s
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [x] Other (please specify) dev 7f8df1d094
**OpenProject version**
happening on dev at 7f8df1d094 (around 12.2.x), ~~but I did not have an earlier version to test it~~. It also occurs on 12.1.6, and 12.1.0.
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Language**
English