ItEr46S04ValidacionEProbasFuncionaisItEr45S04: [Bug #269] Fixing bug.
Loading also exception types.
This commit is contained in:
parent
3d2f7bdd85
commit
2a4ff9f1a5
1 changed files with 9 additions and 1 deletions
|
|
@ -152,10 +152,18 @@ public class BaseCalendarModel implements IBaseCalendarModel {
|
|||
forceLoadBaseCalendar(calendarData.getParent());
|
||||
}
|
||||
}
|
||||
baseCalendar.getExceptions().size();
|
||||
loadingExceptionsWithTheirTypes(baseCalendar);
|
||||
baseCalendar.getCalendarAvailabilities().size();
|
||||
}
|
||||
|
||||
private static void loadingExceptionsWithTheirTypes(
|
||||
BaseCalendar baseCalendar) {
|
||||
Set<CalendarException> exceptions = baseCalendar.getExceptions();
|
||||
for (CalendarException each : exceptions) {
|
||||
each.getType().getName();
|
||||
}
|
||||
}
|
||||
|
||||
private void forceLoadExceptionTypes() {
|
||||
for (CalendarExceptionType calendarExceptionType : getCalendarExceptionTypes()) {
|
||||
calendarExceptionType.getName();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue