Content
View differences
Updated by Christophe Bliard about 1 year ago
### **Environment**:
Your OpenProject Version: 11.1.3 / Cloud Edition
Operating System / Browser / OpenProject language: Win / FF / English
### **Logs**
### **Steps to reproduce:**
1. Create work package, automatic scheduling mode (default), set start date and finish date
2. Create another work package without dates
3. Add the second work package as a child to the first work package via relations tab
<img class="image_resized op-uc-image op-uc-image_inline" style="width:444px;" src="/api/v3/attachments/20580/content">
<img class="image_resized op-uc-image op-uc-image_inline" style="width:427px;" src="/api/v3/attachments/20578/content"> <figure class="image op-uc-figure" style="width:19.4%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20580/content"></div></figure>
<figure class="image op-uc-figure" style="width:17.19%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20578/content"></div></figure>
### **Actual Behavior**
The dates of the new parent work package (from step 1) are gone.
<img class="image_resized op-uc-image op-uc-image_inline" style="width:406px;" src="/api/v3/attachments/20579/content"> <figure class="image op-uc-figure" style="width:17.13%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/20579/content"></div></figure>
### **Expected Behavior**
I can keep the dates of the first (parent) work package. Only if the child has dates set, the dates of the parent work package should be overwritten. (That would be consistent to creating a new child (=>parent keeps its dates)).
I know that automatic scheduling mode means that all dates in the hierarchy are set bottom-up. Let's discuss whether not deleting parent's dates when the child has none would lead to other inconsistencies (if yes we can reject this bug report).
Your OpenProject Version: 11.1.3 / Cloud Edition
Operating System / Browser / OpenProject language: Win / FF / English
### **Logs**
1. Create work package, automatic scheduling mode (default), set start date and finish date
<img class="image_resized op-uc-image op-uc-image_inline" style="width:444px;" src="/api/v3/attachments/20580/content">
<img class="image_resized op-uc-image op-uc-image_inline" style="width:427px;" src="/api/v3/attachments/20578/content">
The dates of the new parent work package (from step 1) are gone.
<img class="image_resized op-uc-image op-uc-image_inline" style="width:406px;" src="/api/v3/attachments/20579/content">
### **Expected Behavior**
I can keep the dates of the first (parent) work package. Only if the child has dates set, the dates of the parent work package should be overwritten. (That would be consistent to creating a new child (=>parent keeps its dates)).
I know that automatic scheduling mode means that all dates in the hierarchy are set bottom-up. Let's discuss whether not deleting parent's dates when the child has none would lead to other inconsistencies (if yes we can reject this bug report).