diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 1a36ce16f0..3eb4153fbe 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -2594,8 +2594,15 @@ - (SOGoWebDAVValue *) davCalendarComponentSet - (NSException *) setDavDescription: (NSString *) description { if (description) { + // FIXME: Improve MacOSX Ventura support + // Check if the problem will be fixed by Apple or if this fix should be kept in the future + // Ticket #5639 + if ([[context request] isMacOSXVenturaCalendarApp]) { + description = [description stringByReplacingOccurrencesOfString:@"/Personal" withString:@"/personal"]; + } + [self setFolderPropertyValue: description - inCategory: @"DavDescription"]; + inCategory: @"DavDescription"]; } return nil; diff --git a/SoObjects/SOGo/SOGoGCSFolder.m b/SoObjects/SOGo/SOGoGCSFolder.m index 8e0ced2eee..3071e3c62e 100644 --- a/SoObjects/SOGo/SOGoGCSFolder.m +++ b/SoObjects/SOGo/SOGoGCSFolder.m @@ -460,10 +460,21 @@ - (BOOL) folderIsMandatory - (NSString *) folderReference { + NSString *realNameInContainer; + + realNameInContainer = [self realNameInContainer]; + + // FIXME: Improve MacOSX Ventura support + // Check if the problem will be fixed by Apple or if this fix should be kept in the future + // Ticket #5639 + if ([[context request] isMacOSXVenturaCalendarApp]) { + realNameInContainer = [realNameInContainer stringByReplacingOccurrencesOfString:@"Personal" withString:@"personal"]; + } + return [NSString stringWithFormat: @"%@:%@/%@", owner, [container nameInContainer], - [self realNameInContainer]]; + realNameInContainer]; } - (NSArray *) pathArrayToFolder