Fix wrong message in deadline constraints

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-05-04 13:15:06 +02:00
parent e6313c7bc8
commit 0a8a4537c5

View file

@ -419,12 +419,12 @@ public class OrderCRUDController extends GenericForwardComposer {
if (mode == SchedulingMode.BACKWARDS) {
throw new WrongValueException(
comp,
_("Starting date cannot be empty in backwards mode"));
_("Deadline cannot be empty in backwards mode"));
}
if (orderModel
.isAnyTaskWithConstraint(PositionConstraintType.AS_LATE_AS_POSSIBLE)) {
throw new WrongValueException(comp,
_("Starting date cannot be empty because there is a task with constraint \"as late as possible\""));
_("Deadline cannot be empty because there is a task with constraint \"as late as possible\""));
}
}
}