Bug #1382: Synchronize deadline dates between the WBS and the Gantt views.
This synchronization collaterally fixes the bug. FEA: ItEr76S04BugFixing
This commit is contained in:
parent
b3338e7246
commit
52acb4debc
1 changed files with 5 additions and 0 deletions
|
|
@ -395,6 +395,11 @@ public abstract class TaskElement extends BaseEntity {
|
|||
|
||||
public void setDeadline(LocalDate deadline) {
|
||||
this.deadline = deadline;
|
||||
if (taskSource != null && taskSource.getOrderElement() != null) {
|
||||
Date newDeadline = this.taskSource.getOrderElement().getDeadline();
|
||||
taskSource.getOrderElement().setDeadline(
|
||||
(newDeadline == null)? null : deadline.toDateMidnight().toDate());
|
||||
}
|
||||
}
|
||||
|
||||
void add(Dependency dependency) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue