mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 03:15:25 +00:00
Monotone-Parent: e14d9f62a6ec2d7e8788ee6cf73d4a47312b8531
Monotone-Revision: de4f10a9425b25e3d10193bba4c7dc640e4d4ba2 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-02-24T20:18:21 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
2011-02-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactGCSEntry.m
|
||||
(-saveContentString:baseVersion:): release the "card" ivar to
|
||||
avoid caching issues.
|
||||
|
||||
* SoObjects/Appointments/SOGoTaskObject.m
|
||||
(-saveContentString:baseVersion:): same as below.
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentObject.m
|
||||
(-saveComponent:): release fullCalendar, safeCalendar and
|
||||
originalCalendar after modification to avoid caching issues.
|
||||
|
||||
* SoObjects/SOGo/SOGoContentObject.m (-davContentLength): return 0
|
||||
when "content" is nil to avoid a value of "(nil)".
|
||||
(-setMAPIContent:, -MAPIContent): removed obsolete methods (fixed
|
||||
|
||||
@@ -594,6 +594,13 @@
|
||||
[super saveComponent: newEvent];
|
||||
}
|
||||
}
|
||||
|
||||
[fullCalendar release];
|
||||
fullCalendar = nil;
|
||||
[safeCalendar release];
|
||||
safeCalendar = nil;
|
||||
[originalCalendar release];
|
||||
originalCalendar = nil;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
@@ -56,4 +56,22 @@
|
||||
inContainer: self];
|
||||
}
|
||||
|
||||
#warning this code should be put in SOGoCalendarComponent once the UID hack\
|
||||
in SOGoAppointmentObject is resolved
|
||||
- (NSException *) saveContentString: (NSString *) newContent
|
||||
baseVersion: (unsigned int) newVersion
|
||||
{
|
||||
NSException *ex;
|
||||
|
||||
ex = [super saveContentString: newContent baseVersion: newVersion];
|
||||
[fullCalendar release];
|
||||
fullCalendar = nil;
|
||||
[safeCalendar release];
|
||||
safeCalendar = nil;
|
||||
[originalCalendar release];
|
||||
originalCalendar = nil;
|
||||
|
||||
return ex;
|
||||
}
|
||||
|
||||
@end /* SOGoTaskObject */
|
||||
|
||||
@@ -136,4 +136,16 @@
|
||||
[self saveContentString: [vcard versitString]];
|
||||
}
|
||||
|
||||
- (NSException *) saveContentString: (NSString *) newContent
|
||||
baseVersion: (unsigned int) newVersion
|
||||
{
|
||||
NSException *ex;
|
||||
|
||||
ex = [super saveContentString: newContent baseVersion: newVersion];
|
||||
[card release];
|
||||
card = nil;
|
||||
|
||||
return ex;
|
||||
}
|
||||
|
||||
@end /* SOGoContactGCSEntry */
|
||||
|
||||
Reference in New Issue
Block a user