2007-11-01 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+ * OGoContentStore/OCSiCalFieldExtractor.m ([OCSiCalFieldExtractor -extractQuickFieldsFromEvent:_event])
+ ([OCSiCalFieldExtractor -extractQuickFieldsFromTodo:_task]):
+ set title to an empty string where the event/task summary is null.
+
* SoObjects/Mailer/SOGoDraftObject.m ([SOGoDraftObject
-setHeaders:newHeaders]): make sure there is a message id in the
headers dictionary, if not, generate one.
endDate = [_event endDate];
uid = [_event uid];
title = [_event summary];
+ if (![title isNotNull])
+ title = @"";
location = [_event location];
sequence = [_event sequence];
accessClass = [_event symbolicAccessClass];
[row setObject: [NSNumber numberWithInt: [_event priorityNumber]]
forKey: @"c_priority"];
- if ([title isNotNull]) [row setObject: title forKey: @"c_title"];
+ [row setObject: title forKey: @"c_title"];
if ([location isNotNull]) [row setObject: location forKey: @"c_location"];
if ([sequence isNotNull]) [row setObject: sequence forKey: @"c_sequence"];
dueDate = [_task due];
uid = [_task uid];
title = [_task summary];
+ if (![title isNotNull])
+ title = @"";
location = [_task location];
sequence = [_task sequence];
accessClass = [_task symbolicAccessClass];
[row setObject: [NSNumber numberWithBool: NO]
forKey: @"c_isopaque"];
- if ([title isNotNull]) [row setObject: title forKey: @"c_title"];
+ [row setObject: title forKey: @"c_title"];
if ([location isNotNull]) [row setObject: location forKey: @"c_location"];
if ([sequence isNotNull]) [row setObject: sequence forKey: @"c_sequence"];