[Bug #1049] Fix bug
Milestones don't have calendars and the calendar of the task was always reattached. FEA: ItEr74S04BugFixing
This commit is contained in:
parent
28d642376a
commit
03d9ebb879
1 changed files with 3 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ public class EditTaskUtilities implements IEditTaskUtilities {
|
|||
|
||||
private void reattachAndLoadCalendar(TaskElement taskElement) {
|
||||
BaseCalendar calendar = taskElement.getCalendar();
|
||||
if (calendar == null) {
|
||||
return;
|
||||
}
|
||||
baseCalendarDAO.reattach(calendar);
|
||||
forceLoadCalendar(calendar);
|
||||
calendar.getCapacityOn(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue