Monotone-Parent: 9adad96605712f34ea4b5d3a10c392e250208cab
Monotone-Revision: f91865d8f9470a31d323ceafab1bbc5f1f2b42ec Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-22T20:33:30 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
0174eb1455
commit
ba3718709c
|
@ -1,5 +1,11 @@
|
|||
2008-09-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
([SOGoAppointmentFolder -davCollectionTag]): do not ignore deleted
|
||||
records when "computing" the ctag. Also, the EOSpecification
|
||||
instance should not be static, otherwise any subsequent queries
|
||||
will be based on the ctag of the first calendar ever queried.
|
||||
|
||||
* SoObjects/SOGo/NSString+Utilities.m ([NSString
|
||||
-asQPSubjectString:encoding]): replace spaces with underscore
|
||||
characters to comply with rfc 2047.
|
||||
|
|
|
@ -2036,19 +2036,16 @@ static Class sogoAppointmentFolderKlass = Nil;
|
|||
NSString *cTag;
|
||||
|
||||
folder = [self ocsFolder];
|
||||
if (!cTagSpec)
|
||||
{
|
||||
ordering = [EOSortOrdering sortOrderingWithKey: @"c_lastmodified"
|
||||
selector: EOCompareDescending];
|
||||
cTagSpec = [EOFetchSpecification
|
||||
fetchSpecificationWithEntityName: [folder folderName]
|
||||
qualifier: nil
|
||||
sortOrderings: [NSArray arrayWithObject: ordering]];
|
||||
[cTagSpec retain];
|
||||
}
|
||||
ordering = [EOSortOrdering sortOrderingWithKey: @"c_lastmodified"
|
||||
selector: EOCompareDescending];
|
||||
cTagSpec = [EOFetchSpecification
|
||||
fetchSpecificationWithEntityName: [folder folderName]
|
||||
qualifier: nil
|
||||
sortOrderings: [NSArray arrayWithObject: ordering]];
|
||||
|
||||
records = [folder fetchFields: [NSArray arrayWithObject: @"c_lastmodified"]
|
||||
fetchSpecification: cTagSpec];
|
||||
fetchSpecification: cTagSpec
|
||||
ignoreDeleted: NO];
|
||||
if ([records count])
|
||||
{
|
||||
lastModified = [[records objectAtIndex: 0] objectForKey: @"c_lastmodified"];
|
||||
|
|
Loading…
Reference in New Issue