+2007-11-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
+ * SoObjects/SOGo/SOGoFolder.m ([SOGoFolder
+ -deleteEntriesWithIds:ids]): make sure the objects returned by
+ lookupName:... are not instances of NSException.
+
2007-11-03 Ludovic Marcotte <ludovic@inverse.ca>
* UI/Scheduler/UIxAppointmentEditor.m
+2007-11-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
+
+ * GCSFolder.m ([GCSFolder -writeContent:toName:baseVersion:]): the
+ test for the improvement below was wrong, we want to test the
+ value of the column ('0' or null) instead of whether it is null or
+ filled.
+
2007-10-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* GCSFolder.m ([GCSFolder -writeContent:toName:baseVersion:]):
isNewRecord = [storedVersion isNotNull] ? NO : YES;
if (!isNewRecord)
{
- if ([[self deletionOfContentWithName:_name] isNotNull])
+ if ([[self deletionOfContentWithName:_name] intValue] > 0)
{
[self _purgeRecordWithName: _name];
isNewRecord = YES;
currentID = [ids objectAtIndex: count];
deleteObject = [self lookupName: currentID
inContext: context acquire: NO];
- [deleteObject delete];
+ if (![deleteObject isKindOfClass: [NSException class]])
+ [deleteObject delete];
}
}