Content
View differences
Updated by Niels Lindenthal over 3 years ago
### Note
1. Not sure if In this is bug report or a feature request. We might come to report, the conclusion to move this to another version.
2. The word distance "lag" is used to describe the number of days between two related packages (implicit). It is not packages; internally, the (explicit) lag between two work packages. word "delay" might be used by the dev team. There is currently no UI representation for the lag attribute. The lag this value, although it can only indirectly be CRUD set using the API.
3. In the API and the database lag is currently named "Delay": ##44054 Gantt chart (as described below).
### Steps to reproduce
1. Go to the _Work packages_ module and activate Gantt view.
2. Create two work packages (wp1 and wp2).
3. Give wp1 and wp2 the same start and finish dates, with a duration of 2 days.
4. Add a relation so that wp2 "follows" wp1.
* Wp2's start and finish dates will change as a result, such that wp2 starts the next available day after wp1's finish date.
5. Move wp2 into the future so that there are 4 days in between wp1 and wp2 (distance (lag = 3 days).
6. **Adjustment 1:** Move wp1 two days into the future. Note that this does not push wp2 by two days; instead, the **distance** _**is _**lag is reduced**_ from 3 days to 1 day (two days in between).
7. **Adjustment 2:** Now move wp1 two days into the past. Note that in this case, this pulls wp2 ahead by two days; a **distance** _**of _**lag of 1 day is conserved**_ (2 days in between).
8. **Adjustment 3:** Now move wp1 such that it's start date is past the start date of wp. Note that wp2 is pushed so that it starts the first available day after wp1 ends, **disctance **lag is set to zero.**
### What is the buggy behavior?
* When the distance lag is set by moving wp2 into the future on the Gantt chart, the behaviour is not consistent between when wp1 is moved backwards or fowards in time (between adjustment 1 and 2).
* Moving wp1 into the past changes start/finish dates of wp2 and conserves distance. lag.
* Moving wp1 into the future preserves start/finish dates of wp2 and reduces distance. lag.
* Note that in the case of adjustment 3 (wp1 moved beyond wp2), the work packages are rescheduled as expected (wp2 starts 1 day after wp1, lag = 0).
### What is the expected behavior?
For adjustments 1 and 2, either:
* The distance **Solution 1:** lag is not preserved when conserved in both cases (so moving wp 1 into wp1 forwards or backwards should pull/push wp2 by the past.
same number of days)
* WP2 is only rescheduled if This also means we need to come up with a way to allow users to view and edit this lag manually, possibly in the change of WP1 would create a negative distance (distance <0).
## Next step - out of scope
Relations tab.
* We implement **Solution 2:** lag is ignored in both cases (and a user interface to CRUD follows/preceeds relationship always forces a 0-day lag, and wp2 always starts the existing lag attribute. first available day after wp1).
Further discussion needed.
### Screenshots and other files
This screencap illustrates steps 5–8 of 'Steps to reproduce':
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38374/content">
### Environment information
**OpenProject installation type**
All
**OpenProject version**
12.2
1. Not sure if
2. The word distance
3. In the API and the database lag is currently named "Delay": ##44054
### Steps to reproduce
1. Go to the _Work packages_ module and activate Gantt view.
2. Create two work packages (wp1 and wp2).
3. Give wp1 and wp2 the same start and finish dates, with a duration of 2 days.
4. Add a relation so that wp2 "follows" wp1.
* Wp2's start and finish dates will change as a result, such that wp2 starts the next available day after wp1's finish date.
5. Move wp2 into the future so that there are 4 days in between wp1 and wp2 (distance
6. **Adjustment 1:** Move wp1 two days into the future. Note that this does not push wp2 by two days; instead, the **distance** _**is
7. **Adjustment 2:** Now move wp1 two days into the past. Note that in this case, this pulls wp2 ahead by two days; a **distance** _**of
8. **Adjustment 3:** Now move wp1 such that it's start date is past the start date of wp. Note that wp2 is pushed so that it starts the first available day after wp1 ends, **disctance
### What is the buggy behavior?
* When the distance
* Moving wp1 into the past changes start/finish dates of wp2 and conserves distance.
* Moving wp1 into the future preserves start/finish dates of wp2 and reduces distance.
* Note that in the case of adjustment 3 (wp1 moved beyond wp2), the work packages are rescheduled as expected (wp2 starts 1 day after wp1, lag = 0).
### What is the expected behavior?
## Next step - out of scope
Further discussion needed.
### Screenshots and other files
This screencap illustrates steps 5–8 of 'Steps to reproduce':
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/38374/content">
### Environment information
**OpenProject installation type**
All
**OpenProject version**
12.2