Monotone-Parent: 2e52dbc1e2c5415cdba61195bc483d77199d3b9c

Monotone-Revision: 3867377ff036971b33104c67e4333772032acb22

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-11-04T20:29:09
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-11-04 20:29:09 +00:00
parent 93753413f7
commit b973266b80
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
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:]):

View File

@ -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;