Content
View differences
Updated by Christophe Bliard 7 months 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:_
_As a project manager doing top-down planning :_
Case 1 : upon creating first child
1. Create a new orphan WP (neither parent nor child) "A" with **"manual"** scheduling mode and set some start and end dates
2. Create a new WP "B" that is a child of A with "manual" scheduling mode and set some other start and end dates (OP will initialise the dates to be the same as A, change them)
3. → **A is now in "automatic" scheduling mode**
Case 2 : upon deleting children
1. _(start from above)_
2. reset A in "manual" mode with some start and end dates
3. create a few other WP that are children of A
4. delete all children of A except one
5. → **A goes to "automatic" scheduling mode when all-but-one of its children are deleted**
1. **curiously, if B was the first child created but not the last one remaining (lets say the only child remaining is some other WP "F"), then A goes to automatic scheduling but with the dates of B instead of F (as reported by the automatic message in Activity), even if B does not exist anymore!**
### What is the buggy behavior?
Upon the event of having exactly 1 child, a WP scheduling mode is always updated to "automatic" even if its start and end dates were already set.
_(And its dates are set to its first child created ever, even if that child does not exist anymore upon triggering this event, but that is a minor detail)_
This unexpected behavior is really annoying when planning a project top-down.
### What is the expected behavior?
I expect the exact behavior described in [OpenProject's documentation](https://www.openproject.org/docs/user-guide/gantt-chart/scheduling/) :
> Manually-scheduled work packages can still have predecessor, successor, parent or child relations, but these relations will not affect the manually input dates.
>
> \[...\]
>
> Moving a child work package in the manual scheduling mode will not move the dates of the parent work package.
So after creating my parent WP and set its dates, I do not want them to be overridden and its mode overridden to "automatic" upon creating its first child.
###
### Environment information
**OpenProject installation type**
* Packaged installation
* Debian 12
**OpenProject version**
16.5.1
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (ubuntu 22.04)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
French
Case 1 : upon creating first child
1. Create a new orphan WP (neither parent nor child) "A" with **"manual"** scheduling mode and set some start and end dates
2. Create a new WP "B" that is a child of A with "manual" scheduling mode and set some other start and end dates (OP will initialise the dates to be the same as A, change them)
3. → **A is now in "automatic" scheduling mode**
Case 2 : upon deleting children
1. _(start from above)_
2. reset A in "manual" mode with some start and end dates
3. create a few other WP that are children of A
4. delete all children of A except one
5. → **A goes to "automatic" scheduling mode when all-but-one of its children are deleted**
1. **curiously, if B was the first child created but not the last one remaining (lets say the only child remaining is some other WP "F"), then A goes to automatic scheduling but with the dates of B instead of F (as reported by the automatic message in Activity), even if B does not exist anymore!**
### What is the buggy behavior?
Upon the event of having exactly 1 child, a WP scheduling mode is always updated to "automatic" even if its start and end dates were already set.
_(And its dates are set to its first child created ever, even if that child does not exist anymore upon triggering this event, but that is a minor detail)_
This unexpected behavior is really annoying when planning a project top-down.
### What is the expected behavior?
I expect the exact behavior described in [OpenProject's documentation](https://www.openproject.org/docs/user-guide/gantt-chart/scheduling/) :
> Manually-scheduled work packages can still have predecessor, successor, parent or child relations, but these relations will not affect the manually input dates.
>
> \[...\]
>
> Moving a child work package in the manual scheduling mode will not move the dates of the parent work package.
So after creating my parent WP and set its dates, I do not want them to be overridden and its mode overridden to "automatic" upon creating its first child.
###
### Environment information
**OpenProject installation type**
* Packaged installation
* Debian 12
**OpenProject version**
16.5.1
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (ubuntu 22.04)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
French