Bug #1454: Force update task size after reassignations
FEA: ItEr76S04BugFixing
This commit is contained in:
parent
b51814bc46
commit
5506482e42
2 changed files with 9 additions and 0 deletions
|
|
@ -538,4 +538,9 @@ public abstract class Task implements ITaskFundamentalProperties {
|
|||
return fundamentalProperties.isRoot();
|
||||
}
|
||||
|
||||
public void updateSizeDueToDateChanges(GanttDate previousStart, GanttDate previousEnd) {
|
||||
dependenciesEnforcerHook.setStartDate(previousStart, previousEnd,
|
||||
getBeginDate());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -167,11 +167,15 @@ public class ReassignCommand implements IReassignCommand {
|
|||
final int total = reassignations.size();
|
||||
for (final WithAssociatedEntity each : reassignations) {
|
||||
Task ganttTask = each.ganntTask;
|
||||
GanttDate previousStart = ganttTask.getBeginDate();
|
||||
GanttDate previousEnd = ganttTask.getEndDate();
|
||||
|
||||
transactionService
|
||||
.runOnReadOnlyTransaction(reassignmentTransaction(each));
|
||||
diagramGraph.enforceRestrictions(each.ganntTask);
|
||||
ganttTask.enforceDependenciesDueToPositionPotentiallyModified();
|
||||
ganttTask.updateSizeDueToDateChanges(previousStart, previousEnd);
|
||||
|
||||
updater.doUpdate(showCompleted(i, total));
|
||||
i++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue