diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index f0d310bd7..3ff2b26ec 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -2980,7 +2980,10 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir theUser = [SOGoUser userWithLogin: theUID]; aParent = [theUser calendarsFolderInContext: context]; - + + if ([aParent isKindOfClass: [NSException class]]) + return nil; + aFolders = [aParent subFolders]; e = [aFolders objectEnumerator]; while ((aFolder = [e nextObject]))