diff --git a/SOPE/GDLContentStore/ChangeLog b/SOPE/GDLContentStore/ChangeLog index a1072b1a9..a76a21ab2 100644 --- a/SOPE/GDLContentStore/ChangeLog +++ b/SOPE/GDLContentStore/ChangeLog @@ -1,3 +1,10 @@ +2007-11-04 Wolfgang Sourdeau + + * 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 * GCSFolder.m ([GCSFolder -writeContent:toName:baseVersion:]): diff --git a/SOPE/GDLContentStore/GCSFolder.m b/SOPE/GDLContentStore/GCSFolder.m index c423d5f48..ac0495fd0 100644 --- a/SOPE/GDLContentStore/GCSFolder.m +++ b/SOPE/GDLContentStore/GCSFolder.m @@ -582,7 +582,7 @@ static GCSStringFormatter *stringFormatter = nil; isNewRecord = [storedVersion isNotNull] ? NO : YES; if (!isNewRecord) { - if ([[self deletionOfContentWithName:_name] isNotNull]) + if ([[self deletionOfContentWithName:_name] intValue] > 0) { [self _purgeRecordWithName: _name]; isNewRecord = YES;