Monotone-Parent: 314258a347f9d34b19270de4e4ee70dbd2489cb7

Monotone-Revision: 9693d35d6d0414d7e000361f72935cb32a05e608

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2008-07-23T17:40:51
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2008-07-23 17:40:51 +00:00
parent 77cc96a070
commit a8aee9d5d2
2 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,12 @@
2008-07-23 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent -secureContentAsString]): use a mutable
copy of the calendar in order to be able to modify it, otherwise
SOGo crashes.
([-isFolderish]): removed method, so that the components won't be
listed as DAV collections.
2008-07-21 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoContentObject.m ([SOGoContentObject

View File

@ -155,7 +155,7 @@ static BOOL sendEMailNotifications = NO;
else if (![sm validatePermission: SOGoCalendarPerm_ViewDAndT
onObject: self inContext: context])
{
tmpCalendar = [[self calendar: NO secure: NO] copy];
tmpCalendar = [[self calendar: NO secure: NO] mutableCopy];
tmpComponent = (iCalRepeatableEntityObject *)
[tmpCalendar firstChildWithTag: [self componentTag]];
[self _filterComponent: tmpComponent];
@ -240,11 +240,6 @@ _occurenceHasID (iCalRepeatableEntityObject *occurence, NSString *recID)
return newOccurence;
}
- (BOOL) isFolderish
{
return YES;
}
- (id) toManyRelationshipKeys
{
return nil;