+2005-07-18 Helge Hess <helge.hess@opengroupware.org>
+
+ * SOGoContactObject.m: print an error log if a vCard could not be
+ parsed, cached failed parsing attempts (v0.9.14)
+
2005-07-15 Helge Hess <helge.hess@opengroupware.org>
* SOGoContactFolder.m: fixed a gcc 4.0 warning (v0.9.13)
NSArray *v;
v = [NGVCard parseVCardsFromSource:s];
- if ([v count] == 0)
+ if ([v count] == 0) {
+ [self errorWithFormat:@"Could not parse vCards from content!"];
return nil;
+ }
self->record = [[v objectAtIndex:0] retain];
}
else
self->record = [[s propertyList] copy];
+
+ if (self->record == nil)
+ self->record = [[NSNull null] retain];
}
return [self->record isNotNull] ? self->record : nil;
}
# version file
-SUBMINOR_VERSION:=13
+SUBMINOR_VERSION:=14
# v0.9.12 requires libSOGo v0.9.54
# v0.9.9 requires libGDLContentStore v4.5.26