Bug #1568: Allow to move a task before start date if it does not have consolidations
When you set the days for a task, even if it does not have consolidations, the method does not allow you to move it before the start date. This restriction has been removed. FEA: ItEr77S04BugFixing
This commit is contained in:
parent
ddc32cea1d
commit
d76e3d36d7
1 changed files with 5 additions and 2 deletions
|
|
@ -351,8 +351,11 @@ public class FormBinder {
|
|||
@SuppressWarnings("unchecked")
|
||||
private IntraDayDate ensureItIsAfterConsolidation(
|
||||
IntraDayDate newDate) {
|
||||
return Collections.max(Arrays.asList(newDate,
|
||||
IntraDayDate.startOfDay(firstPossibleDay)));
|
||||
if (getTask().hasConsolidations()) {
|
||||
return Collections.max(Arrays.asList(newDate,
|
||||
IntraDayDate.startOfDay(firstPossibleDay)));
|
||||
}
|
||||
return newDate;
|
||||
}
|
||||
|
||||
}, onChangeEnableApply);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue